Click here to Skip to main content
15,912,507 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Propegating System Varaiables Pin
David Crow3-Jun-05 5:10
David Crow3-Jun-05 5:10 
GeneralRe: Propegating System Varaiables Pin
Guinness4Strength3-Jun-05 5:13
Guinness4Strength3-Jun-05 5:13 
GeneralRe: Propegating System Varaiables Pin
David Crow3-Jun-05 5:20
David Crow3-Jun-05 5:20 
GeneralRe: Propegating System Varaiables Pin
Guinness4Strength3-Jun-05 5:22
Guinness4Strength3-Jun-05 5:22 
GeneralRe: Propegating System Varaiables Pin
Blake Miller2-Jun-05 9:30
Blake Miller2-Jun-05 9:30 
GeneralRe: Propegating System Varaiables Pin
Guinness4Strength2-Jun-05 9:39
Guinness4Strength2-Jun-05 9:39 
GeneralRe: Propegating System Varaiables Pin
Blake Miller2-Jun-05 14:11
Blake Miller2-Jun-05 14:11 
GeneralHandle maps Pin
Budric B.2-Jun-05 4:37
Budric B.2-Jun-05 4:37 
Hi,
I'm having trouble with handle maps. I've been reading some information about the topic but I don't see how it applies to the problem I'm having.

Basically I have a class that represents a camera. It's a wrapper for API calls to set properties and capture images. The camera class also has a modeless dialog box as one of its members to display camera properties to the user. The dialog is created and exists for the lifetime of the camera class and there are function to show/hide it.

For some reason the following fails
<br />
bool MultipleCameraWrapper::SetShutter(int nShutter)<br />
{<br />
        ...<br />
	//update the dialog<br />
	this->m_pConfigDlg->m_nShutter = nShutter;<br />
	this->m_pConfigDlg->UpdateData(FALSE);         //FAIL!<br />
}<br />

More specifically
CHandleMap* pMap = afxMapHWND(); returns NULL inside UpdateData(). Can someone tell me why and how to fix it?
GeneralRe: Handle maps Pin
S. Senthil Kumar2-Jun-05 5:58
S. Senthil Kumar2-Jun-05 5:58 
GeneralRe: Handle maps Pin
Budric B.2-Jun-05 6:15
Budric B.2-Jun-05 6:15 
GeneralRe: Handle maps Pin
S. Senthil Kumar2-Jun-05 6:54
S. Senthil Kumar2-Jun-05 6:54 
GeneralShell programming problem, about context menu Pin
scchan19842-Jun-05 4:36
scchan19842-Jun-05 4:36 
GeneralKinda new...need help Pin
Matthew Devine2-Jun-05 4:31
Matthew Devine2-Jun-05 4:31 
GeneralCStatic question ( dumb friday question ) Pin
Maximilien2-Jun-05 4:03
Maximilien2-Jun-05 4:03 
GeneralRe: CStatic question ( dumb friday question ) Pin
Cedric Moonen2-Jun-05 4:07
Cedric Moonen2-Jun-05 4:07 
GeneralRe: CStatic question ( dumb friday question ) Pin
Tom Archer2-Jun-05 4:20
Tom Archer2-Jun-05 4:20 
GeneralRe: CStatic question ( dumb friday question ) Pin
Maximilien2-Jun-05 5:27
Maximilien2-Jun-05 5:27 
GeneralRe: CStatic question ( dumb friday question ) Pin
Maximilien2-Jun-05 5:48
Maximilien2-Jun-05 5:48 
GeneralRe: CStatic question ( dumb friday question ) Pin
Tom Archer2-Jun-05 5:57
Tom Archer2-Jun-05 5:57 
GeneralRe: CStatic question ( dumb friday question ) Pin
Maximilien2-Jun-05 7:25
Maximilien2-Jun-05 7:25 
GeneralRe: CStatic question ( dumb friday question ) Pin
Tom Archer2-Jun-05 9:46
Tom Archer2-Jun-05 9:46 
GeneralRe: CStatic question ( dumb friday question ) Pin
Maximilien2-Jun-05 11:48
Maximilien2-Jun-05 11:48 
GeneralRe: CStatic question ( dumb friday question ) Pin
Tom Archer2-Jun-05 10:02
Tom Archer2-Jun-05 10:02 
QuestionWhat shuld I do to grab any audio data from sound card? Pin
ytod2-Jun-05 4:02
ytod2-Jun-05 4:02 
Generalsame project to build dll and static lib Pin
Chintoo7232-Jun-05 3:48
Chintoo7232-Jun-05 3:48 

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.