Click here to Skip to main content
16,009,847 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: reading from file Pin
3-Apr-02 4:02
suss3-Apr-02 4:02 
GeneralRe: reading from file Pin
alex.barylski3-Apr-02 4:31
alex.barylski3-Apr-02 4:31 
GeneralRe: reading from file Pin
Shog93-Apr-02 4:59
sitebuilderShog93-Apr-02 4:59 
GeneralRe: reading from file Pin
Ravi Bhavnani3-Apr-02 5:19
professionalRavi Bhavnani3-Apr-02 5:19 
GeneralRetrieving handle to the active MDI child window Pin
AmarB3-Apr-02 3:04
AmarB3-Apr-02 3:04 
GeneralRe: Retrieving handle to the active MDI child window Pin
alex.barylski3-Apr-02 3:26
alex.barylski3-Apr-02 3:26 
GeneralRe: Retrieving handle to the active MDI child window Pin
AmarB3-Apr-02 3:37
AmarB3-Apr-02 3:37 
GeneralRe: Retrieving handle to the active MDI child window Pin
alex.barylski3-Apr-02 3:48
alex.barylski3-Apr-02 3:48 
GetActiveWindow() - MSDN

The active window or NULL if no window was active at the time of the call. The pointer may be temporary and should not be stored for later use.

Try setting the window's active state explicity with SetActiveWindow() somewhere in your code and then try GetActiveWindow() see what happens...

If it's a temporary pointer...you only wanna use it right after the call to GetActiveWindow(), is this perhaps causing your problem...?

I dunno why it would fail...other than what the above states.

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
GeneralRe: Retrieving handle to the active MDI child window Pin
3-Apr-02 3:58
suss3-Apr-02 3:58 
GeneralRe: Retrieving handle to the active MDI child window Pin
3-Apr-02 6:13
suss3-Apr-02 6:13 
GeneralIcons in a Listctrl with owner draw fixed style Pin
Cris3-Apr-02 2:58
Cris3-Apr-02 2:58 
GeneralRe: Icons in a Listctrl with owner draw fixed style Pin
alex.barylski3-Apr-02 3:30
alex.barylski3-Apr-02 3:30 
Generalevents problem.... Pin
Neha3-Apr-02 2:53
Neha3-Apr-02 2:53 
Generalremove item from std::list Pin
3-Apr-02 2:46
suss3-Apr-02 2:46 
GeneralRe: remove item from std::list Pin
Chris Losinger3-Apr-02 3:11
professionalChris Losinger3-Apr-02 3:11 
GeneralRe: remove item from std::list Pin
Christian Graus3-Apr-02 9:47
protectorChristian Graus3-Apr-02 9:47 
GeneralRe: remove item from std::list Pin
Chris Losinger3-Apr-02 9:56
professionalChris Losinger3-Apr-02 9:56 
GeneralRe: remove item from std::list Pin
3-Apr-02 3:47
suss3-Apr-02 3:47 
GeneralRe: remove item from std::list Pin
Jack Handy3-Apr-02 4:46
Jack Handy3-Apr-02 4:46 
GeneralPrinting with MS Word Automation Pin
3-Apr-02 1:59
suss3-Apr-02 1:59 
GeneralString -> char * Pin
Chris Coote3-Apr-02 1:57
Chris Coote3-Apr-02 1:57 
QuestionApp wants to know: Is cursor off me now? Pin
Rickard Andersson203-Apr-02 1:36
Rickard Andersson203-Apr-02 1:36 
AnswerRe: App wants to know: Is cursor off me now? Pin
Mazdak3-Apr-02 1:47
Mazdak3-Apr-02 1:47 
GeneralRe: App wants to know: Is cursor off me now? Pin
Rickard Andersson203-Apr-02 1:50
Rickard Andersson203-Apr-02 1:50 
GeneralRe: App wants to know: Is cursor off me now? Pin
Mazdak3-Apr-02 1:55
Mazdak3-Apr-02 1:55 

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.