Click here to Skip to main content
15,890,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to access all controls on the dialog box Pin
saksp3-Sep-08 23:16
saksp3-Sep-08 23:16 
AnswerRe: How to access all controls on the dialog box Pin
SandipG 3-Sep-08 23:35
SandipG 3-Sep-08 23:35 
AnswerRe: How to access all controls on the dialog box Pin
_AnsHUMAN_ 3-Sep-08 23:37
_AnsHUMAN_ 3-Sep-08 23:37 
QuestionControls within a CWnd Pin
bigcivilmelon3-Sep-08 22:16
bigcivilmelon3-Sep-08 22:16 
QuestionHow to get the username of the computer Pin
Deepu Antony3-Sep-08 21:33
Deepu Antony3-Sep-08 21:33 
AnswerRe: How to get the username of the computer Pin
Rane3-Sep-08 21:48
Rane3-Sep-08 21:48 
GeneralRe: How to get the username of the computer Pin
Deepu Antony3-Sep-08 22:17
Deepu Antony3-Sep-08 22:17 
QuestionCrash at customized button Pin
kDevloper3-Sep-08 20:57
kDevloper3-Sep-08 20:57 
Hi,

i am using customized buttons in a dialog.
1: i am handling a set of 36 buttons click . it's not at all called on click of any of the buttons with in this range.

2: Crash at draw item. here is the call stack

CButton::DrawItem(tagDRAWITEMSTRUCT * 0x0012e204) line 72 + 25 bytes
CButton::OnChildNotify(unsigned int 43, unsigned int 2449, long 1237508, long * 0x00000000) line 84
CWnd::SendChildNotifyLastMsg(long * 0x00000000) line 2694
CWnd::ReflectLastMsg(HWND__ * 0x000a0a66, long * 0x00000000) line 2732
CWnd::OnDrawItem(int 2449, tagDRAWITEMSTRUCT * 0x0012e204) line 1167 + 14 bytes
CWnd::OnWndMsg(unsigned int 43, unsigned int 2449, long 1237508, long * 0x0012e0a4) line 1941
CWnd::WindowProc(unsigned int 43, unsigned int 2449, long 1237508) line 1596 + 30 bytes
AfxCallWndProc(CWnd * 0x0012ec10 {CCustColorDialog hWnd=???}, HWND__ * 0x000a0a6a, unsigned int 43, unsigned int 2449, long 1237508) line 215 + 26 bytes
AfxWndProc(HWND__ * 0x000a0a6a, unsigned int 43, unsigned int 2449, long 1237508) line 379
AfxWndProcBase(HWND__ * 0x000a0a6a, unsigned int 43, unsigned int 2449, long 1237508) line 220 + 21 bytes
USER32! 77e3a454()
USER32! 77e16382()
USER32! 77e17361()
USER32! 77e3b66b()
USER32! 77e2b788()
USER32! 77e3b7b6()
USER32! 77e2e106()
USER32! 77e3a454()
USER32! 77e16b41()
USER32! 77e16b64()
CWnd::DefWindowProcA(unsigned int 296, unsigned int 196610, long 0) line 1011 + 32 bytes
CWnd::WindowProc(unsigned int 296, unsigned int 196610, long 0) line 1597 + 26 bytes
AfxCallWndProc(CWnd * 0x0012ec70 {CCustButton hWnd=???}, HWND__ * 0x000a0a66, unsigned int 296, unsigned int 196610, long 0) line 215 + 26 bytes
AfxWndProc(HWND__ * 0x000a0a66, unsigned int 296, unsigned int 196610, long 0) line 379
AfxWndProcBase(HWND__ * 0x000a0a66, unsigned int 296, unsigned int 196610, long 0) line 220 + 21 bytes
USER32! 77e3a454()
USER32! 77e14750()
USER32! 77e155b0()
NTDLL! 77f91baf()
USER32! 77e29302()
USER32! 77e2d428()
USER32! 77e16b41()
USER32! 77e16b64()
CWnd::DefWindowProcA(unsigned int 296, unsigned int 196610, long 0) line 1011 + 32 bytes
CWnd::WindowProc(unsigned int 296, unsigned int 196610, long 0) line 1597 + 26 bytes
AfxCallWndProc(CWnd * 0x0012ec10 {CCustColorDialog hWnd=???}, HWND__ * 0x000a0a6a, unsigned int 296, unsigned int 196610, long 0) line 215 + 26 bytes
AfxWndProc(HWND__ * 0x000a0a6a, unsigned int 296, unsigned int 196610, long 0) line 379
AfxWndProcBase(HWND__ * 0x000a0a6a, unsigned int 296, unsigned int 196610, long 0) line 220 + 21 bytes
USER32! 77e3a454()
USER32! 77e16382()
USER32! 77e1504b()
USER32! 77e29302()
USER32! 77e2d428()
USER32! 77e16b41()
USER32! 77e16b64()
CWnd::DefWindowProcA(unsigned int 295, unsigned int 196610, long 0) line 1011 + 32 bytes
CWnd::WindowProc(unsigned int 295, unsigned int 196610, long 0) line 1597 + 26 bytes
AfxCallWndProc(CWnd * 0x0012ec10 {CCustColorDialog hWnd=???}, HWND__ * 0x000a0a6a, unsigned int 295, unsigned int 196610, long 0) line 215 + 26 bytes
AfxWndProc(HWND__ * 0x000a0a6a, unsigned int 295, unsigned int 196610, long 0) line 379
AfxWndProcBase(HWND__ * 0x000a0a6a, unsigned int 295, unsigned int 196610, long 0) line 220 + 21 bytes
USER32! 77e3a454()
USER32! 77e16382()
USER32! 77e2eaf2()
USER32! 77e2f46b()
CWnd::IsDialogMessageA(tagMSG * 0x00882450 {msg=0x00000104 wp=0x00000012 lp=0x20380001}) line 182
CWnd::PreTranslateInput(tagMSG * 0x00882450 {msg=0x00000104 wp=0x00000012 lp=0x20380001}) line 3435
CDialog::PreTranslateMessage(tagMSG * 0x00882450 {msg=0x00000104 wp=0x00000012 lp=0x20380001}) line 92
CWnd::WalkPreTranslateTree(HWND__ * 0x001206c4, tagMSG * 0x00882450 {msg=0x00000104 wp=0x00000012 lp=0x20380001}) line 2678 + 18 bytes
CWinThread::PreTranslateMessage(tagMSG * 0x00882450 {msg=0x00000104 wp=0x00000012 lp=0x20380001}) line 672 + 18 bytes
CWinThread::PumpMessage() line 848 + 30 bytes
CWnd::RunModalLoop(unsigned long 4) line 3489 + 19 bytes
CDialog::DoModal() line 539 + 12 bytes
CCQPreWnd::OnLButtonDownView(unsigned int 1, CPoint {x=58 y=458}) line 8400
CCQPrWnd::OnLButtonDown(unsigned int 1, CPoint {x=58 y=458}) line 529
CWnd::OnWndMsg(unsigned int 513, unsigned int 1, long 30015546, long * 0x0012fbcc) line 1975
CWnd::WindowProc(unsigned int 513, unsigned int 1, long 30015546) line 1596 + 30 bytes
AfxCallWndProc(CWnd * 0x01915fe3 {CCQPressStatusWnd hWnd=???}, HWND__ * 0x000a0a44, unsigned int 513, unsigned int 1, long 30015546) line 215 + 26 bytes
AfxWndProc(HWND__ * 0x000a0a44, unsigned int 513, unsigned int 1, long 30015546) line 379
AfxWndProcBase(HWND__ * 0x000a0a44, unsigned int 513, unsigned int 1, long 30015546) line 220 + 21 bytes
USER32! 77e3a454()
USER32! 77e14605()
USER32! 77e1a7f2()
USER32! 77e2f46b()
CWnd::IsDialogMessageA(tagMSG * 0x00882450 {msg=0x00000104 wp=0x00000012 lp=0x20380001}) line 182
CWnd::PreTranslateInput(tagMSG * 0x00882450 {msg=0x00000104 wp=0x00000012 lp=0x20380001}) line 3435
CDialog::PreTranslateMessage(tagMSG * 0x00882450 {msg=0x00000104 wp=0x00000012 lp=0x20380001}) line 92
CPropertyViewPage::PreTranslateMessage(tagMSG * 0x00882450 {msg=0x00000104 wp=0x00000012 lp=0x20380001}) line 167
CWnd::WalkPreTranslateTree(HWND__ * 0x001206c4, tagMSG * 0x00882450 {msg=0x00000104 wp=0x00000012 lp=0x20380001}) line 2678 + 18 bytes
CWinThread::PreTranslateMessage(tagMSG * 0x00882450 {msg=0x00000104 wp=0x00000012 lp=0x20380001}) line 672 + 18 bytes
CWinThread::PumpMessage() line 848 + 30 bytes
CWinThread::Run() line 487 + 11 bytes
CWinApp::Run() line 400
AfxWinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x0014356c, int 1) line 49 + 11 bytes
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x0014356c, int 1) line 30
WinMainCRTStartup() line 330 + 54 bytes
KERNEL32! 7c5989d5()

Regards,
Kdevloper Frown | :(
AnswerRe: Crash at customized button Pin
Naveen3-Sep-08 21:09
Naveen3-Sep-08 21:09 
GeneralRe: Crash at customized button Pin
kDevloper3-Sep-08 21:13
kDevloper3-Sep-08 21:13 
GeneralRe: Crash at customized button Pin
SandipG 3-Sep-08 21:17
SandipG 3-Sep-08 21:17 
GeneralRe: Crash at customized button PinPopular
Naveen3-Sep-08 21:19
Naveen3-Sep-08 21:19 
GeneralRe: Crash at customized button Pin
kDevloper3-Sep-08 21:50
kDevloper3-Sep-08 21:50 
GeneralRe: Crash at customized button Pin
Naveen3-Sep-08 21:59
Naveen3-Sep-08 21:59 
GeneralRe: Crash at customized button Pin
Emilio Garavaglia3-Sep-08 22:06
Emilio Garavaglia3-Sep-08 22:06 
GeneralRe: Crash at customized button Pin
kDevloper3-Sep-08 22:30
kDevloper3-Sep-08 22:30 
GeneralRe: Crash at customized button PinPopular
SandipG 3-Sep-08 22:09
SandipG 3-Sep-08 22:09 
GeneralRe: Crash at customized button Pin
Naveen3-Sep-08 22:17
Naveen3-Sep-08 22:17 
GeneralRe: Crash at customized button PinPopular
toxcct3-Sep-08 23:00
toxcct3-Sep-08 23:00 
QuestionNot able to connect to database when logging as as Standard User (Non- Administrative user) in Vista Pin
V K 23-Sep-08 20:33
V K 23-Sep-08 20:33 
QuestionCSocket threading issue Pin
tony_Udz3-Sep-08 20:32
tony_Udz3-Sep-08 20:32 
AnswerRe: CSocket threading issue [modified] Pin
SandipG 3-Sep-08 21:04
SandipG 3-Sep-08 21:04 
AnswerRe: CSocket threading issue Pin
Roger Stoltz3-Sep-08 22:25
Roger Stoltz3-Sep-08 22:25 
GeneralRe: CSocket threading issue Pin
SandipG 3-Sep-08 23:00
SandipG 3-Sep-08 23:00 
GeneralRe: CSocket threading issue Pin
Roger Stoltz3-Sep-08 23:04
Roger Stoltz3-Sep-08 23:04 

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.