Click here to Skip to main content
16,012,198 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to SendMessage to a windowless Ctrl Pin
G. Steudtel25-Jul-03 5:47
G. Steudtel25-Jul-03 5:47 
GeneralRe: How to SendMessage to a windowless Ctrl Pin
ray_li25-Jul-03 7:39
ray_li25-Jul-03 7:39 
AnswerRe: How to SendMessage to a windowless Ctrl Pin
BadJerry25-Jul-03 6:31
BadJerry25-Jul-03 6:31 
GeneralDisable window close [X] button Pin
David Chamberlain25-Jul-03 3:36
David Chamberlain25-Jul-03 3:36 
GeneralRe: Disable window close [X] button Pin
Member 42425925-Jul-03 3:55
Member 42425925-Jul-03 3:55 
GeneralRe: Disable window close [X] button Pin
David Chamberlain25-Jul-03 4:16
David Chamberlain25-Jul-03 4:16 
GeneralRe: Disable window close [X] button Pin
valikac25-Jul-03 5:30
valikac25-Jul-03 5:30 
GeneralRe: Disable window close [X] button Pin
David Chamberlain25-Jul-03 7:01
David Chamberlain25-Jul-03 7:01 
The problem I have with this approach is that as a child window, there is no system menu for it, and I get an unhandled exception. This is when I put these statements in the OnCreate handler of the child window.

When I put this in for the main frame, then indeed it does disable the close, but for the main window, not for the child.

Thanks,
Dave

"You can say that again." -- Dept. of Redundancy Dept.
GeneralRe: Disable window close [X] button Pin
John M. Drescher25-Jul-03 8:39
John M. Drescher25-Jul-03 8:39 
GeneralRe: Disable window close [X] button Pin
Bob Stanneveld25-Jul-03 9:59
Bob Stanneveld25-Jul-03 9:59 
GeneralRe: Disable window close [X] button Pin
jason9925-Jul-03 5:51
jason9925-Jul-03 5:51 
GeneralVirtual function CDialog::OnCancel() Pin
Anonymous25-Jul-03 3:20
Anonymous25-Jul-03 3:20 
GeneralRe: Virtual function CDialog::OnCancel() Pin
Ryan Binns25-Jul-03 3:24
Ryan Binns25-Jul-03 3:24 
GeneralRe: Virtual function CDialog::OnCancel() Pin
Bob Stanneveld25-Jul-03 3:34
Bob Stanneveld25-Jul-03 3:34 
GeneralRe: Virtual function CDialog::OnCancel() Pin
Anonymous25-Jul-03 3:35
Anonymous25-Jul-03 3:35 
GeneralRe: Virtual function CDialog::OnCancel() Pin
Anonymous25-Jul-03 3:54
Anonymous25-Jul-03 3:54 
GeneralRe: Virtual function CDialog::OnCancel() Pin
Bob Stanneveld25-Jul-03 9:49
Bob Stanneveld25-Jul-03 9:49 
GeneralRe: Virtual function CDialog::OnCancel() Pin
yitzhak25-Jul-03 11:19
yitzhak25-Jul-03 11:19 
GeneralInline function insanity. Pin
73Zeppelin25-Jul-03 3:15
73Zeppelin25-Jul-03 3:15 
GeneralRe: Inline function insanity. Pin
Ryan Binns25-Jul-03 3:23
Ryan Binns25-Jul-03 3:23 
GeneralRe: Inline function insanity. Pin
Member 42425925-Jul-03 3:24
Member 42425925-Jul-03 3:24 
GeneralRe: Inline function insanity. Pin
David Crow25-Jul-03 5:29
David Crow25-Jul-03 5:29 
GeneralRe: Inline function insanity. Pin
Gary R. Wheeler25-Jul-03 6:30
Gary R. Wheeler25-Jul-03 6:30 
GeneralRe: Inline function insanity. Pin
73Zeppelin25-Jul-03 7:05
73Zeppelin25-Jul-03 7:05 
GeneralCopying classes between projects Pin
pgs25-Jul-03 2:54
pgs25-Jul-03 2:54 

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.