Click here to Skip to main content
15,922,650 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVisual C++ Pin
tamasan3-Jul-06 0:16
tamasan3-Jul-06 0:16 
AnswerRe: Visual C++ Pin
_AnsHUMAN_ 3-Jul-06 0:20
_AnsHUMAN_ 3-Jul-06 0:20 
AnswerRe: Visual C++ Pin
Benoy Bose3-Jul-06 1:27
Benoy Bose3-Jul-06 1:27 
AnswerRe: Visual C++ [modified] Pin
Niklas L3-Jul-06 3:22
Niklas L3-Jul-06 3:22 
QuestionTrying to Display HWND as String Pin
redfish342-Jul-06 23:37
redfish342-Jul-06 23:37 
AnswerRe: Trying to Display HWND as String Pin
Justin Tay2-Jul-06 23:58
Justin Tay2-Jul-06 23:58 
AnswerRe: Trying to Display HWND as String Pin
see me2-Jul-06 23:58
see me2-Jul-06 23:58 
AnswerRe: Trying to Display HWND as String Pin
Abhi Lahare3-Jul-06 0:04
Abhi Lahare3-Jul-06 0:04 
GetForegroundWindow() API will return handle to active window with which user is interacting, so in debugging mode you constantly switch between your app and debug window. so its difficult to know window handle.

Not sure what are you trying to do, but try this to display window handle in output window.

CString str;<br />
str.Format("%x",m_foreHwnd1);<br />
OutputDebugString(str);


Hope this helps
AnswerRe: Trying to Display HWND as String Pin
see me3-Jul-06 0:19
see me3-Jul-06 0:19 
AnswerWrong Forum Pin
redfish343-Jul-06 23:03
redfish343-Jul-06 23:03 
Questionplz Tell me Pin
ashish dogra2-Jul-06 23:34
ashish dogra2-Jul-06 23:34 
AnswerRe: plz Tell me Pin
_AnsHUMAN_ 2-Jul-06 23:44
_AnsHUMAN_ 2-Jul-06 23:44 
GeneralRe: plz Tell me Pin
ashish dogra3-Jul-06 0:02
ashish dogra3-Jul-06 0:02 
GeneralRe: plz Tell me Pin
_AnsHUMAN_ 3-Jul-06 0:05
_AnsHUMAN_ 3-Jul-06 0:05 
GeneralRe: plz Tell me Pin
Abhi Lahare3-Jul-06 0:12
Abhi Lahare3-Jul-06 0:12 
QuestionListbox Scrollbar issue Pin
Sarath C2-Jul-06 23:32
Sarath C2-Jul-06 23:32 
QuestionChanging Active View Pin
_Tom_2-Jul-06 23:27
_Tom_2-Jul-06 23:27 
AnswerRe: Changing Active View Pin
Viorel.2-Jul-06 23:38
Viorel.2-Jul-06 23:38 
GeneralRe: Changing Active View Pin
_Tom_3-Jul-06 0:59
_Tom_3-Jul-06 0:59 
GeneralRe: Changing Active View Pin
Viorel.3-Jul-06 1:26
Viorel.3-Jul-06 1:26 
AnswerRe: Changing Active View [modified] Pin
Cliff Hatch3-Jul-06 11:36
Cliff Hatch3-Jul-06 11:36 
QuestionUrgent :- How to read the unicode file with C/C++ Pin
Rocky Marrone2-Jul-06 23:26
Rocky Marrone2-Jul-06 23:26 
AnswerRe: Urgent :- How to read the unicode file with C/C++ Pin
Justin Tay3-Jul-06 2:08
Justin Tay3-Jul-06 2:08 
GeneralRe: Urgent :- How to read the unicode file with C/C++ Pin
Rocky Marrone3-Jul-06 2:51
Rocky Marrone3-Jul-06 2:51 
GeneralRe: Urgent :- How to read the unicode file with C/C++ Pin
Justin Tay3-Jul-06 2:56
Justin Tay3-Jul-06 2:56 

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.