I am trying to use some code that Semen had posted a while back
that allows multiple files flagging for custom programs that have
been added to Windows Explorer's File & rightclick Context Menu's.
Semen's code works GREAT, BUT,
his code uses a dialog that is displayed and that has a title.
For the programs that *I've* written, I would like to have the
multiple files flagging capability, yet still have ONE instance of
the program process the files that are flagged, rather than have
the Explorer call up a separate instance of the program for EACH
of the flagged files.
So, my question: in Semen's code, he uses the FindWindow API Call
to find the hWnd of the custom program. He then uses the returned
number (hWnd) to use the SendMessage to send the %WM_COPYDATA to
the original program's instance dialog callback. So, is there
any way to get the hWnd of a dialog (modeless) that is NOT being
displayed, uses the %WS_EX_TOOLWINDOW extstyle, and immediately
has the DIALOG SHOW STATE hDlg, 0 statement after the
DIALO SHOW MODELESS hDlg CALL Proc()?
This is not a critical question, but, I *hate* unnecessary GUI's,
and the three programs I've added to my Windows Explorer's menu's
are best run without the GUI, and should be run "unattended", after
the files have been flagged.
Thanks in advance!
Regards,
------------------
Clay C. Clear
Clay Clear's Software
mailto:[email protected][email protected]</A>
[This message has been edited by Clay Clear (edited October 16, 2001).]
that allows multiple files flagging for custom programs that have
been added to Windows Explorer's File & rightclick Context Menu's.
Semen's code works GREAT, BUT,
his code uses a dialog that is displayed and that has a title.
For the programs that *I've* written, I would like to have the
multiple files flagging capability, yet still have ONE instance of
the program process the files that are flagged, rather than have
the Explorer call up a separate instance of the program for EACH
of the flagged files.
So, my question: in Semen's code, he uses the FindWindow API Call
to find the hWnd of the custom program. He then uses the returned
number (hWnd) to use the SendMessage to send the %WM_COPYDATA to
the original program's instance dialog callback. So, is there
any way to get the hWnd of a dialog (modeless) that is NOT being
displayed, uses the %WS_EX_TOOLWINDOW extstyle, and immediately
has the DIALOG SHOW STATE hDlg, 0 statement after the
DIALO SHOW MODELESS hDlg CALL Proc()?
This is not a critical question, but, I *hate* unnecessary GUI's,
and the three programs I've added to my Windows Explorer's menu's
are best run without the GUI, and should be run "unattended", after
the files have been flagged.
Thanks in advance!

Regards,
------------------
Clay C. Clear
Clay Clear's Software
mailto:[email protected][email protected]</A>
[This message has been edited by Clay Clear (edited October 16, 2001).]
Comment