Click here to Skip to main content
15,918,275 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What can I do if ReleaseSemaphore return zero? Pin
Alexander M.,28-Oct-03 23:36
Alexander M.,28-Oct-03 23:36 
GeneralHelp with AI, ASAP!!! Pin
Snyp28-Oct-03 12:31
Snyp28-Oct-03 12:31 
GeneralRe: Help with AI, ASAP!!! Pin
Blake Coverett28-Oct-03 17:56
Blake Coverett28-Oct-03 17:56 
GeneralRe: Help with AI, ASAP!!! Pin
Michael P Butler29-Oct-03 1:46
Michael P Butler29-Oct-03 1:46 
GeneralRe: Help with AI, ASAP!!! Pin
Atlantys30-Oct-03 12:49
Atlantys30-Oct-03 12:49 
GeneralRe: Help with AI, ASAP!!! Pin
Snyp29-Oct-03 15:18
Snyp29-Oct-03 15:18 
GeneralRe: Help with AI, ASAP!!! Pin
Snyp29-Oct-03 15:19
Snyp29-Oct-03 15:19 
QuestionDirectX/Win32 stealing key messages? Pin
andy5528-Oct-03 12:12
andy5528-Oct-03 12:12 
Hey there... Quick background: I author two freeware music visualizations called G-Force and WhiteCap for a few media players out there, and I'm fixing up my win32 and direct x fullscreen code. I'm been (unsuccessfully) trying to get thru an issue for a while now, losing some major major time on it, and I'm desperate to resolve it...

Normally, my software does it's video output thing in a plain-jane hwnd. When it's told to go into fullscreen mode, I first create a new hwnd (to be the fullscreen window), call SetCoopertiveLevel() (using that new hwnd), call SetDisplayMode() (actually causing the disp device to change res, etc), and then go from there. It works great and the video out works as expected, execept that all messages to the hwnd's message handler proc suddenly stop! Indeed, I have an output log that shows that it gets no more messages (following all the typical messages from a creation and resize, etc of making a new window). So, amusingly, it enters fullscreen mode, looks great, but doesn't respond what so ever to any keystrokes, not even system ones (ctrl alt del, alt tab)... The only way out is a manual reset. :^(

Add'l info: Win98SE (chosen for compatibility reasons), Compiler: Metrowerks codewarrior 8, targeting Win32 EXE, direct x 9 on the machine (but the DX API that I use goes back to DX3).

Data point 1... If I pass the normal window as fullscreen hwnd's parent in CreateWindow(), flow stops somewhere near or right after SetCoopertiveLevel() and before SetDisplayMode(), but the same effect seems to be occurring: all messages to the process (ie, it seems to be blocked by something).

Data point 2... This whole problem doesn't occur whatsoever (passing a parent window or not) when I target to a DLL and I'm running as a plugin under Winamp 2 (ie, mysteriously, there's something present when I'm running as a DLL in winamp that avoids the problem than when I'm just running as my own EXE).

Thanks in advance for your time and effort here. If you know my software, then you know my specialty is not OS APIs, but more abstract things (my shareware targets MacOS classic, MacOS X, and win32 and runs under half a dozen media players). This is to say all help is appreciated! Thanks!

Andy

GeneralNeed help displaying Chinese characters in a CListCtrl Pin
Raymond So28-Oct-03 11:48
Raymond So28-Oct-03 11:48 
GeneralRe: Need help displaying Chinese characters in a CListCtrl Pin
yndfcd28-Oct-03 13:26
yndfcd28-Oct-03 13:26 
GeneralRe: Need help displaying Chinese characters in a CListCtrl Pin
Michael Dunn28-Oct-03 16:56
sitebuilderMichael Dunn28-Oct-03 16:56 
GeneralRe: How to update dialog title when a value is changed in a child window? Pin
ElizabethC28-Oct-03 11:00
ElizabethC28-Oct-03 11:00 
GeneralRe: How to update dialog title when a value is changed in a child window? Pin
David Crow28-Oct-03 11:09
David Crow28-Oct-03 11:09 
GeneralRe: How to update dialog title when a value is changed in a child window? Pin
Terry O'Nolley28-Oct-03 12:28
Terry O'Nolley28-Oct-03 12:28 
GeneralRe: How to update dialog title when a value is changed in a child window? Pin
ElizabethC28-Oct-03 13:07
ElizabethC28-Oct-03 13:07 
GeneralRe: How to update dialog title when a value is changed in a child window? Pin
Terry O'Nolley28-Oct-03 13:51
Terry O'Nolley28-Oct-03 13:51 
GeneralRe: How to update dialog title when a value is changed in a child window? Pin
ElizabethC30-Oct-03 10:35
ElizabethC30-Oct-03 10:35 
Generalupgrading vc6 c++ project to .net Pin
mindows28-Oct-03 10:49
mindows28-Oct-03 10:49 
GeneralRe: upgrading vc6 c++ project to .net Pin
Dave Bryant28-Oct-03 13:12
Dave Bryant28-Oct-03 13:12 
GeneralCalling an ActiveX EXE from VC++... Pin
Orkun GEDiK28-Oct-03 10:39
Orkun GEDiK28-Oct-03 10:39 
GeneralRe: Calling an ActiveX EXE from VC++... Pin
Michael P Butler29-Oct-03 1:51
Michael P Butler29-Oct-03 1:51 
QuestionHow to update dialog title when a value is changed in a child window? Pin
ElizabethC28-Oct-03 10:19
ElizabethC28-Oct-03 10:19 
AnswerRe: How to update dialog title when a value is changed in a child window? Pin
David Crow28-Oct-03 10:40
David Crow28-Oct-03 10:40 
AnswerRe: How to update dialog title when a value is changed in a child window? Pin
Blake Miller30-Oct-03 9:17
Blake Miller30-Oct-03 9:17 
Generalm_pParentWnd and m_hWnd Pin
ns28-Oct-03 9:32
ns28-Oct-03 9:32 

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.