Click here to Skip to main content
16,007,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error LNK2001: unresolved external symbol _DirectDrawCreate@12 Pin
21-Oct-01 4:46
suss21-Oct-01 4:46 
GeneralRe: error LNK2001: unresolved external symbol _DirectDrawCreate@12 Pin
21-Oct-01 4:52
suss21-Oct-01 4:52 
GeneralRe: error LNK2001: unresolved external symbol _DirectDrawCreate@12 Pin
Carlos Antollini21-Oct-01 4:40
Carlos Antollini21-Oct-01 4:40 
Generalabout Macro Pin
Maer72721-Oct-01 2:06
Maer72721-Oct-01 2:06 
GeneralRe: about Macro Pin
Michael Dunn21-Oct-01 8:13
sitebuilderMichael Dunn21-Oct-01 8:13 
GeneralRe: about Macro Pin
Maer72721-Oct-01 19:19
Maer72721-Oct-01 19:19 
GeneralRe: about Macro Pin
Michael Dunn21-Oct-01 19:23
sitebuilderMichael Dunn21-Oct-01 19:23 
GeneralCButton SetCheck() fails!!! Grrr!!!!!! Pin
21-Oct-01 1:24
suss21-Oct-01 1:24 
I have two dialogs.
I the main dialog which is shown when the app is starting, I write this in the OnInitDialog():
CSecondDialog dlg; // this is the other dialog!
dlg.m_checkbox.SetCheck(1); // m_checkbox is a simple Check Box control, I puted it on the dialog with drag-and-drop

The program crashes and the debuger shows this

_AFXWIN_INLINE void CButton::SetCheck(int nCheck)
{ ASSERT(::IsWindow(m_hWnd)); ::SendMessage(m_hWnd, BM_SETCHECK, nCheck, 0); }

Is there any options for the Check box that isn't avaible?
or....
GeneralRe: CButton SetCheck() fails!!! Grrr!!!!!! Pin
Michael P Butler21-Oct-01 2:50
Michael P Butler21-Oct-01 2:50 
GeneralMy first ATL works !!! Pin
mimi21-Oct-01 1:09
mimi21-Oct-01 1:09 
GeneralRe: My first ATL works !!! Pin
Michael P Butler21-Oct-01 3:00
Michael P Butler21-Oct-01 3:00 
GeneralYou are mistakes Michael ! Pin
21-Oct-01 9:11
suss21-Oct-01 9:11 
GeneralRe: You are mistakes Michael ! Pin
Christian Graus21-Oct-01 10:08
protectorChristian Graus21-Oct-01 10:08 
GeneralRe: You are mistakes Michael ! Pin
Michael P Butler21-Oct-01 10:11
Michael P Butler21-Oct-01 10:11 
GeneralAnswers Pin
mimi21-Oct-01 9:30
mimi21-Oct-01 9:30 
GeneralRe: Answers Pin
Michael P Butler21-Oct-01 10:13
Michael P Butler21-Oct-01 10:13 
GeneralOH ! excuse me ! misprint! this is realy ATL generated Dialog class! Pin
mimi21-Oct-01 10:41
mimi21-Oct-01 10:41 
GeneralRe: OH ! excuse me ! misprint! this is realy ATL generated Dialog class! Pin
Michael P Butler21-Oct-01 10:51
Michael P Butler21-Oct-01 10:51 
GeneralRe: Try CWindow! Pin
Masaaki Onishi21-Oct-01 13:36
Masaaki Onishi21-Oct-01 13:36 
GeneralManny thanks ! it is works !!! extra last question Pin
mimi21-Oct-01 23:22
mimi21-Oct-01 23:22 
GeneralRegister an ActiveX control Pin
Daed21-Oct-01 1:08
Daed21-Oct-01 1:08 
GeneralRe: Register an ActiveX control Pin
Michael P Butler21-Oct-01 3:05
Michael P Butler21-Oct-01 3:05 
GeneralRe: Register an ActiveX control Pin
Daed21-Oct-01 3:51
Daed21-Oct-01 3:51 
GeneralRe: Register an ActiveX control Pin
Michael Dunn21-Oct-01 8:17
sitebuilderMichael Dunn21-Oct-01 8:17 
GeneralRe: Register an ActiveX control Pin
Daed22-Oct-01 6:28
Daed22-Oct-01 6:28 

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.