Click here to Skip to main content
15,909,827 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC Menu Graying. Pin
kiasu_kid23-Nov-03 14:59
kiasu_kid23-Nov-03 14:59 
GeneralRe: MFC Menu Graying. Pin
John R. Shaw23-Nov-03 15:59
John R. Shaw23-Nov-03 15:59 
GeneralRe: MFC Menu Graying. Pin
kiasu_kid23-Nov-03 18:26
kiasu_kid23-Nov-03 18:26 
GeneralRe: MFC Menu Graying. Pin
jbarton24-Nov-03 3:18
jbarton24-Nov-03 3:18 
Questionhow could i draw an irregular dialog according to an image Pin
ttemp200223-Nov-03 14:26
ttemp200223-Nov-03 14:26 
AnswerRe: how could i draw an irregular dialog according to an image Pin
Prakash Nadar23-Nov-03 16:41
Prakash Nadar23-Nov-03 16:41 
AnswerRe: how could i draw an irregular dialog according to an image Pin
John R. Shaw23-Nov-03 16:57
John R. Shaw23-Nov-03 16:57 
GeneralSetWindowLong indicates blocked thread. Pin
suninwater23-Nov-03 13:42
suninwater23-Nov-03 13:42 
SetWindowLong indicates blocked thread.

Hi,guys:
I got a problem and any response is much appreciated. Smile | :)
Environment: windows2000sp4,vc6sp5

92: LONG style = GetWindowLong(m_hwnd, GWL_STYLE);
93: style |= WS_DLGFRAME | WS_THICKFRAME;
94: SetWindowLong(m_hwnd, GWL_STYLE, style);
1000FD13 mov esi,esp
1000FD15 mov eax,dword ptr [ebp-8]
1000FD18 push eax
1000FD19 push 0F0h
1000FD1B mov ecx,dword ptr [ebp-4]
1000FD1E mov edx,dword ptr [ecx+194h]
1000FD24 push edx
1000FD25 call dword ptr [__imp__SetWindowLongA@12 (10090a28)]
1000FD2B cmp esi,esp
1000FD2D call __chkesp (1002cac0)

Everything is ok till
1000FD25 call dword ptr [__imp__SetWindowLongA@12 (10090a28)]
when single step debugging. The thread seems suspended at this line and never process any more.

How can I solve this problem ?

Thanks you very much !
GeneralRe: SetWindowLong indicates blocked thread. Pin
Prakash Nadar23-Nov-03 16:47
Prakash Nadar23-Nov-03 16:47 
GeneralCreateDIBSection Pin
John R. Shaw23-Nov-03 12:58
John R. Shaw23-Nov-03 12:58 
GeneralRe: CreateDIBSection Pin
Terry O'Nolley23-Nov-03 13:24
Terry O'Nolley23-Nov-03 13:24 
GeneralRe: CreateDIBSection Pin
John R. Shaw23-Nov-03 14:14
John R. Shaw23-Nov-03 14:14 
GeneralRe: CreateDIBSection Pin
Terry O'Nolley23-Nov-03 14:42
Terry O'Nolley23-Nov-03 14:42 
GeneralRe: CreateDIBSection Pin
John R. Shaw23-Nov-03 15:35
John R. Shaw23-Nov-03 15:35 
GeneralModifying MFC document data Pin
aboutQ23-Nov-03 12:45
aboutQ23-Nov-03 12:45 
GeneralRe: Modifying MFC document data Pin
John R. Shaw23-Nov-03 13:25
John R. Shaw23-Nov-03 13:25 
GeneralRe: Modifying MFC document data Pin
Terry O'Nolley23-Nov-03 14:45
Terry O'Nolley23-Nov-03 14:45 
GeneralApplication Restoring Pin
dddfdf23-Nov-03 12:19
dddfdf23-Nov-03 12:19 
GeneralRe: Application Restoring Pin
John R. Shaw23-Nov-03 13:39
John R. Shaw23-Nov-03 13:39 
GeneralRe: Application Restoring Pin
bnn3nasdfasdfa24-Nov-03 2:06
bnn3nasdfasdfa24-Nov-03 2:06 
QuestionHow to bind data to DataGrid using CRecordset? Pin
bilas23-Nov-03 11:43
bilas23-Nov-03 11:43 
GeneralCArchive mapping Pin
DougW4823-Nov-03 10:38
DougW4823-Nov-03 10:38 
GeneralRe: CArchive mapping Pin
Peter Molnar23-Nov-03 13:37
Peter Molnar23-Nov-03 13:37 
GeneralButtons with Icons - In Dialog editor Pin
Antti Keskinen23-Nov-03 9:04
Antti Keskinen23-Nov-03 9:04 
GeneralRe: Buttons with Icons - In Dialog editor Pin
John R. Shaw23-Nov-03 13:55
John R. Shaw23-Nov-03 13:55 

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.