Click here to Skip to main content
15,898,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralMulticasting and UDP Pin
Axonn Echysttas2-Feb-04 5:29
Axonn Echysttas2-Feb-04 5:29 
GeneralRe: Multicasting and UDP Pin
HAHAHA_NEXT2-Feb-04 6:38
HAHAHA_NEXT2-Feb-04 6:38 
GeneralWatching Variables... Pin
It'sSoTypicalToCapureAnonymity2-Feb-04 4:48
sussIt'sSoTypicalToCapureAnonymity2-Feb-04 4:48 
GeneralRe: Watching Variables... Pin
Anonymous2-Feb-04 4:56
Anonymous2-Feb-04 4:56 
GeneralRe: Watching Variables... Pin
It'sSoTypicalToCapureAnonymity2-Feb-04 5:01
sussIt'sSoTypicalToCapureAnonymity2-Feb-04 5:01 
Generalvc71 bug in pow() Pin
shao_lo2-Feb-04 3:55
shao_lo2-Feb-04 3:55 
GeneralRe: vc71 bug in pow() Pin
Steve S2-Feb-04 4:13
Steve S2-Feb-04 4:13 
GeneralRe: vc71 bug in pow() Pin
Tim Smith2-Feb-04 4:13
Tim Smith2-Feb-04 4:13 
GeneralRe: vc71 bug in pow() Pin
shao_lo2-Feb-04 5:51
shao_lo2-Feb-04 5:51 
GeneralRe: vc71 bug in pow() Pin
John M. Drescher2-Feb-04 7:10
John M. Drescher2-Feb-04 7:10 
GeneralProblem with Scaling Pin
Pazzuzu2-Feb-04 3:16
Pazzuzu2-Feb-04 3:16 
GeneralFlexGrid Pin
fk1512-Feb-04 1:42
fk1512-Feb-04 1:42 
GeneralExpression analysis Pin
Goh Hui Beng2-Feb-04 1:34
Goh Hui Beng2-Feb-04 1:34 
GeneralRe: Expression analysis Pin
фил2-Feb-04 1:45
фил2-Feb-04 1:45 
GeneralRe: Expression analysis Pin
Goh Hui Beng2-Feb-04 2:03
Goh Hui Beng2-Feb-04 2:03 
GeneralRe: Expression analysis Pin
фил2-Feb-04 2:15
фил2-Feb-04 2:15 

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.