Click here to Skip to main content
15,905,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Show bitmap on Button Pin
ThatsAlok8-Aug-05 18:32
ThatsAlok8-Aug-05 18:32 
GeneralWM_PAINT wackienss Pin
Peter Weyzen8-Aug-05 8:19
Peter Weyzen8-Aug-05 8:19 
GeneralRe: WM_PAINT wackienss Pin
Jose Lamas Rios8-Aug-05 8:24
Jose Lamas Rios8-Aug-05 8:24 
GeneralRe: WM_PAINT wackienss Pin
Peter Weyzen8-Aug-05 8:31
Peter Weyzen8-Aug-05 8:31 
Generaldetecting a window in win32 Pin
celllllllll8-Aug-05 6:17
celllllllll8-Aug-05 6:17 
GeneralRe: detecting a window in win32 Pin
BlackDice8-Aug-05 6:26
BlackDice8-Aug-05 6:26 
GeneralRe: detecting a window in win32 Pin
celllllllll8-Aug-05 7:13
celllllllll8-Aug-05 7:13 
GeneralRe: detecting a window in win32 Pin
David Crow8-Aug-05 8:07
David Crow8-Aug-05 8:07 
Why do you have both main() and WinMain()?

I'm still not clear as to what window you are wanting to "detect" but the first thing that jumps out at me is that the calls to FindWindow(), GetWindowThreadProcessId(), and OpenProcess() could fail. Why are their return values not being checked? Could that be a reason why the window is not being detected?


"One must learn from the bite of the fire to leave it alone." - Native American Proverb


GeneralRe: detecting a window in win32 Pin
celllllllll8-Aug-05 11:29
celllllllll8-Aug-05 11:29 
GeneralRe: detecting a window in win32 Pin
ThatsAlok8-Aug-05 18:18
ThatsAlok8-Aug-05 18:18 
GeneralRe: detecting a window in win32 Pin
David Crow9-Aug-05 2:27
David Crow9-Aug-05 2:27 
GeneralHiding ScrollBars Pin
raybert8-Aug-05 5:40
raybert8-Aug-05 5:40 
GeneralRe: Hiding ScrollBars Pin
Jose Lamas Rios8-Aug-05 6:41
Jose Lamas Rios8-Aug-05 6:41 
GeneralRe: Hiding ScrollBars Pin
raybert8-Aug-05 8:04
raybert8-Aug-05 8:04 
GeneralRe: Hiding ScrollBars Pin
Jose Lamas Rios8-Aug-05 8:17
Jose Lamas Rios8-Aug-05 8:17 
GeneralD3DXCreateTextureFromFile and CBitmap Pin
akira328-Aug-05 4:58
akira328-Aug-05 4:58 
GeneralOleControl crashes i.e. on shutdown Pin
Ed Deighton8-Aug-05 4:45
Ed Deighton8-Aug-05 4:45 
GeneralEmbedding the Player Control in an MFC Project Pin
c+-8-Aug-05 3:56
c+-8-Aug-05 3:56 
GeneralRe: Embedding the Player Control in an MFC Project Pin
Marc Soleda8-Aug-05 5:39
Marc Soleda8-Aug-05 5:39 
GeneralRe: Embedding the Player Control in an MFC Project Pin
Marc Soleda8-Aug-05 7:48
Marc Soleda8-Aug-05 7:48 
GeneralRe: Embedding the Player Control in an MFC Project Pin
c+-8-Aug-05 17:53
c+-8-Aug-05 17:53 
GeneralRe: Embedding the Player Control in an MFC Project Pin
Marc Soleda8-Aug-05 19:23
Marc Soleda8-Aug-05 19:23 
GeneralStringFromCLSID Pin
Alexander M.,8-Aug-05 3:29
Alexander M.,8-Aug-05 3:29 
GeneralRe: StringFromCLSID Pin
Tim Smith8-Aug-05 3:58
Tim Smith8-Aug-05 3:58 
GeneralRe: StringFromCLSID Pin
peterchen8-Aug-05 8:49
peterchen8-Aug-05 8:49 

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.