Click here to Skip to main content
15,919,434 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visual C++ 6 Syntax Highlighting Pin
Ravi Bhavnani21-Feb-04 8:41
professionalRavi Bhavnani21-Feb-04 8:41 
GeneralRe: Visual C++ 6 Syntax Highlighting Pin
Archer28221-Feb-04 8:44
Archer28221-Feb-04 8:44 
GeneralRe: Visual C++ 6 Syntax Highlighting Pin
Ravi Bhavnani21-Feb-04 8:49
professionalRavi Bhavnani21-Feb-04 8:49 
Generalwindows program in background and simulate keyboard Pin
Ylis21-Feb-04 5:41
Ylis21-Feb-04 5:41 
GeneralRe: windows program in background and simulate keyboard Pin
Prakash Nadar21-Feb-04 5:46
Prakash Nadar21-Feb-04 5:46 
GeneralRe: windows program in background and simulate keyboard Pin
Ylis21-Feb-04 6:43
Ylis21-Feb-04 6:43 
GeneralRe: windows program in background and simulate keyboard Pin
Nirav Doshi21-Feb-04 12:23
Nirav Doshi21-Feb-04 12:23 
GeneralIDirectSound8::SetCooperativeLevel Pin
Alexander M.,21-Feb-04 5:11
Alexander M.,21-Feb-04 5:11 
Hello, I have a problem with IDirectSound8::SetCooperativeLevel.
The DirectX SDK tells that you have to call IDirectSound8::SetCooperativeLevel immediatly after creating a IDirectSound8 object.
the prototype of IDirectSound8::SetCooperativeLevel is:
HRESULT SetCooperativeLevel(
  HWND hwnd,
  DWORD dwLevel
);

My app framework doesn't have any window at the moment this function has to be called.
When I set hwnd to NULL, the function fails(E_INVALIDARG).
What should I use as hwnd here?

Thx

Don't try it, just do it! Wink | ;-)
GeneralRe: IDirectSound8::SetCooperativeLevel Pin
Prakash Nadar21-Feb-04 5:42
Prakash Nadar21-Feb-04 5:42 
GeneralAnother problem. Pin
Alexander M.,21-Feb-04 7:30
Alexander M.,21-Feb-04 7:30 
GeneralTracking the mouse like Autocad (big cross) Pin
Tim Schuhmacher21-Feb-04 4:17
Tim Schuhmacher21-Feb-04 4:17 
GeneralRe: Tracking the mouse like Autocad (big cross) Pin
Prakash Nadar21-Feb-04 5:52
Prakash Nadar21-Feb-04 5:52 
GeneralRe: Tracking the mouse like Autocad (big cross) Pin
Tim Schuhmacher21-Feb-04 5:59
Tim Schuhmacher21-Feb-04 5:59 
GeneralRe: Tracking the mouse like Autocad (big cross) Pin
Prakash Nadar21-Feb-04 6:12
Prakash Nadar21-Feb-04 6:12 
GeneralRe: Tracking the mouse like Autocad (big cross) Pin
Tim Schuhmacher21-Feb-04 11:51
Tim Schuhmacher21-Feb-04 11:51 
GeneralRe: Tracking the mouse like Autocad (big cross) Pin
Shog921-Feb-04 6:20
sitebuilderShog921-Feb-04 6:20 
GeneralRe: Tracking the mouse like Autocad (big cross) Pin
Tim Schuhmacher21-Feb-04 11:46
Tim Schuhmacher21-Feb-04 11:46 
GeneralLooking for some code Pin
#realJSOP21-Feb-04 3:42
professional#realJSOP21-Feb-04 3:42 
GeneralRe: Looking for some code Pin
Shog921-Feb-04 5:57
sitebuilderShog921-Feb-04 5:57 
GeneralRe: Looking for some code Pin
Jörgen Sigvardsson21-Feb-04 11:57
Jörgen Sigvardsson21-Feb-04 11:57 
QuestionHow can I see member variables corresponding a selected control in VS 2003 ? Pin
Gem21-Feb-04 2:38
Gem21-Feb-04 2:38 
AnswerRe: How can I see member variables corresponding a selected control in VS 2003 ? Pin
Shog921-Feb-04 5:53
sitebuilderShog921-Feb-04 5:53 
AnswerRe: How can I see member variables corresponding a selected control in VS 2003 ? Pin
Prakash Nadar21-Feb-04 5:55
Prakash Nadar21-Feb-04 5:55 
GeneralRe: How can I see member variables corresponding a selected control in VS 2003 ? Pin
Gem22-Feb-04 3:10
Gem22-Feb-04 3:10 
Generalcreating and displaying a listbox dynamically (on the fly) Pin
brainznbrawn@yahoo.com21-Feb-04 2:36
brainznbrawn@yahoo.com21-Feb-04 2:36 

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.