Click here to Skip to main content
15,886,761 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: float into array of bytes Pin
V.15-Jul-04 1:24
professionalV.15-Jul-04 1:24 
GeneralRe: float into array of bytes Pin
Roger Allen15-Jul-04 3:33
Roger Allen15-Jul-04 3:33 
GeneralMFC and Windows.Forms integration Pin
EinarJon15-Jul-04 0:19
EinarJon15-Jul-04 0:19 
GeneralEnumFontFamilies Pin
Galisteo15-Jul-04 0:17
Galisteo15-Jul-04 0:17 
GeneralRe: EnumFontFamilies Pin
David Crow15-Jul-04 4:23
David Crow15-Jul-04 4:23 
GeneralRe: EnumFontFamilies Pin
Galisteo15-Jul-04 6:23
Galisteo15-Jul-04 6:23 
GeneralLinking error ?? y Pin
Zeeshan Bilal15-Jul-04 0:14
Zeeshan Bilal15-Jul-04 0:14 
GeneralHiding a dialog box of another process Pin
UlrichG15-Jul-04 0:05
UlrichG15-Jul-04 0:05 
Hello,

I have written a program which starts another program (VoicePad from IBM ViaVoice) via CreateProcess, searches its window on the desktop and sends WM_... messages via SendMessage/PostMessage. When the Open File Dialog box is launched, I can enter the filename via WM_CHAR and send a WM_COMMAND with IDOK to close the dialog box successfully.

Now my problem:

The program must be started hidden.
In CreateProcess's STARTUPINFO structure, I can specify SW_HIDE in wShowWindow, and the program does not display its application window.
However, the Open File Dialog box is always shown.
How can I hide the dialog box?

I know, the difficulty is that the dialog box belongs to a different process, but it is the single annoying thing which I have.

A thread which periodically checks if the dialog box is opened and
hides it instantly is not a good solution, since the dialog box
flashes a short time, and this is not what I want.

Regards,

Ulrich

GeneralC++ Def and Non-Def file - Function Signature - help! Pin
Chua Wen Ching14-Jul-04 23:50
Chua Wen Ching14-Jul-04 23:50 
GeneralRe: C++ Def and Non-Def file - Function Signature - help! Pin
vmaltsev15-Jul-04 12:16
vmaltsev15-Jul-04 12:16 
QuestionHow To Display TIFF File in MFC Application.?????? Pin
mahatma_cis14-Jul-04 23:40
mahatma_cis14-Jul-04 23:40 
AnswerRe: How To Display TIFF File in MFC Application.?????? Pin
KaЯl15-Jul-04 0:19
KaЯl15-Jul-04 0:19 
AnswerRe: How To Display TIFF File in MFC Application.?????? Pin
swandream15-Jul-04 0:21
swandream15-Jul-04 0:21 
QuestionHow to use extra API for Visual C++ Application. Pin
pubududilena14-Jul-04 23:02
pubududilena14-Jul-04 23:02 
Generalwin32 Pin
uma maheswari14-Jul-04 22:11
uma maheswari14-Jul-04 22:11 
GeneralRe: win32 Pin
David Crow15-Jul-04 7:41
David Crow15-Jul-04 7:41 
GeneralHOW: overiding [x] system close button - not working Pin
JabraJabra14-Jul-04 21:39
JabraJabra14-Jul-04 21:39 
GeneralRe: HOW: overiding [x] system close button - not working Pin
jmkhael14-Jul-04 22:11
jmkhael14-Jul-04 22:11 
GeneralRe: HOW: overiding [x] system close button - not working Pin
JabraJabra15-Jul-04 9:21
JabraJabra15-Jul-04 9:21 
GeneralRe: HOW: overiding [x] system close button - not working Pin
V.14-Jul-04 22:11
professionalV.14-Jul-04 22:11 
GeneralFront page like container Pin
Omar Alvi14-Jul-04 20:58
Omar Alvi14-Jul-04 20:58 
Generalminimizing and maximizing a dialog Pin
locoone14-Jul-04 20:35
locoone14-Jul-04 20:35 
GeneralRe: minimizing and maximizing a dialog Pin
ThatsAlok14-Jul-04 20:49
ThatsAlok14-Jul-04 20:49 
GeneralRegistry Values Problm Plz hlp me Pin
Zeeshan Bilal14-Jul-04 19:38
Zeeshan Bilal14-Jul-04 19:38 
GeneralRe: Registry Values Problm Plz hlp me Pin
ThatsAlok14-Jul-04 21:21
ThatsAlok14-Jul-04 21:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.