Click here to Skip to main content
15,911,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhat is a good PDF Viewer control? Pin
Alex Korchemniy2-Feb-04 11:04
Alex Korchemniy2-Feb-04 11:04 
Generalcustomize CFileDialog for dynamic Files of Type Pin
sysop@HAL9K.com2-Feb-04 11:00
sysop@HAL9K.com2-Feb-04 11:00 
QuestionCImage and atlimage.h? Pin
__Cerb2-Feb-04 10:52
__Cerb2-Feb-04 10:52 
AnswerRe: CImage and atlimage.h? Pin
Michael Dunn2-Feb-04 11:42
sitebuilderMichael Dunn2-Feb-04 11:42 
GeneralService stops when LOG OFF from the system Pin
cchauhan2-Feb-04 10:38
cchauhan2-Feb-04 10:38 
GeneralRe: Service stops when LOG OFF from the system Pin
Prakash Nadar2-Feb-04 17:17
Prakash Nadar2-Feb-04 17:17 
GeneralRe: Service stops when LOG OFF from the system Pin
Anonymous3-Feb-04 6:11
Anonymous3-Feb-04 6:11 
GeneralRe: Service stops when LOG OFF from the system Pin
Prakash Nadar3-Feb-04 15:57
Prakash Nadar3-Feb-04 15:57 
GeneralAbout TrackMouseEvent function Pin
Cael2-Feb-04 10:22
Cael2-Feb-04 10:22 
GeneralRe: About TrackMouseEvent function Pin
sps-itsec462-Feb-04 10:58
sps-itsec462-Feb-04 10:58 
Generalboost makes min/max ambiguous Pin
peterchen2-Feb-04 9:29
peterchen2-Feb-04 9:29 
GeneralRe: boost makes min/max ambiguous Pin
Joaquín M López Muñoz2-Feb-04 9:45
Joaquín M López Muñoz2-Feb-04 9:45 
GeneralExtracting stuff from a Word doc... Pin
Nitron2-Feb-04 8:24
Nitron2-Feb-04 8:24 
GeneralRe: Extracting stuff from a Word doc... Pin
Steve S3-Feb-04 2:13
Steve S3-Feb-04 2:13 
GeneralSet a text in a textbox automatically<into the program code> Pin
Amr Abdel-Mohsen2-Feb-04 7:54
Amr Abdel-Mohsen2-Feb-04 7:54 
GeneralRe: Set a text in a textbox automatically<into the program code> Pin
Ravi Bhavnani2-Feb-04 8:16
professionalRavi Bhavnani2-Feb-04 8:16 
Generalreading a file location from an another output file Pin
mr20032-Feb-04 7:33
mr20032-Feb-04 7:33 
GeneralEnlarging dialog window Pin
sweep1232-Feb-04 6:44
sweep1232-Feb-04 6:44 
GeneralRe: Enlarging dialog window Pin
Roger Allen2-Feb-04 7:00
Roger Allen2-Feb-04 7:00 
GeneralRe: Enlarging dialog window Pin
Edwin Brunner2-Feb-04 7:35
Edwin Brunner2-Feb-04 7:35 
GeneralRe: Enlarging dialog window Pin
Michael Dunn2-Feb-04 11:44
sitebuilderMichael Dunn2-Feb-04 11:44 
QuestionW2K cmd prompt autocomplete? Pin
Ravi Bhavnani2-Feb-04 6:26
professionalRavi Bhavnani2-Feb-04 6:26 
AnswerFound it Pin
Ravi Bhavnani2-Feb-04 6:30
professionalRavi Bhavnani2-Feb-04 6:30 
QuestionHow to make a PropertySheet window always display as the top-most one? Pin
bin89222-Feb-04 6:01
bin89222-Feb-04 6:01 
I am working on a project of BHO and I need to make a PropertySheet dialog box pop up when I click on an item in the context menu. The property sheet is from the BHO. The problem is sometimes the PropertySheet is displayed under the current IE window and the user cannot see it. I know what caused the problem. It is because there is one BHO for each IE window. But when a property sheet is called, the program just use PostMessage to send out a message, and the first BHO that gets it will display the property sheet. That is why sometimes the property sheet cannot be seen. How do I solve this problem?
I tried to use SetWindowPos(NULL,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE) in the property’s initialization function. But it doesn’t work. I also tried to add SetForegroundWindow(); before that. There is still something wrong with it. First, it will make the IE window that the BHO hooked to become the window on focus and make the current IE window hide; Second, it only works on the IE windows from the same thread(The new window is generated from current old window by clicking on File->new->Window). It doesn’t work when the IE windows are on different thread, for exampe, generated by clicking on the blue “e”.

Please help. Thanks a lot in advance

AnswerRe: How to make a PropertySheet window always display as the top-most one? Pin
John M. Drescher2-Feb-04 7:05
John M. Drescher2-Feb-04 7:05 

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.