Click here to Skip to main content
15,897,090 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Text editor Pin
toxcct13-Nov-06 5:50
toxcct13-Nov-06 5:50 
GeneralRe: Text editor Pin
Hamid_RT13-Nov-06 7:30
Hamid_RT13-Nov-06 7:30 
GeneralRe: Text editor Pin
toxcct13-Nov-06 7:38
toxcct13-Nov-06 7:38 
QuestionC++ basics Pin
cmaccc13-Nov-06 3:38
cmaccc13-Nov-06 3:38 
QuestionRe: C++ basics Pin
David Crow13-Nov-06 3:59
David Crow13-Nov-06 3:59 
AnswerRe: C++ basics Pin
toxcct13-Nov-06 5:48
toxcct13-Nov-06 5:48 
QuestionDisable Frame Moving Pin
baerten13-Nov-06 2:56
baerten13-Nov-06 2:56 
AnswerRe: Disable Frame Moving [modified] Pin
Viorel.13-Nov-06 3:11
Viorel.13-Nov-06 3:11 
I think you should handle the WM_NCHITTEST message. Call the base handler, and if it returns HTCAPTION, HTMAXBUTTON or HTMINBUTTON, then you should return HTNOWHERE. (Actually, it should be a method, dealing with window styles, for removing min- and max-buttons from caption bar).

I hope this works (but not for the case of using system menu -- this need additional work).

Are you sure the user will not be disturbed by these missfunctions?
GeneralRe: Disable Frame Moving Pin
baerten13-Nov-06 3:34
baerten13-Nov-06 3:34 
QuestionRe: Disable Frame Moving Pin
baerten13-Nov-06 4:09
baerten13-Nov-06 4:09 
AnswerRe: Disable Frame Moving Pin
Viorel.13-Nov-06 4:28
Viorel.13-Nov-06 4:28 
GeneralRe: Disable Frame Moving Pin
baerten13-Nov-06 21:43
baerten13-Nov-06 21:43 
QuestionUsing Webdings as font for CDialog buttons problem Pin
peterboulton13-Nov-06 1:21
professionalpeterboulton13-Nov-06 1:21 
AnswerRe: Using Webdings as font for CDialog buttons problem Pin
Rage13-Nov-06 2:53
professionalRage13-Nov-06 2:53 
AnswerRe: Using Webdings as font for CDialog buttons problem Pin
Viorel.13-Nov-06 3:02
Viorel.13-Nov-06 3:02 
QuestionHow to diable menu itemin VC++ Pin
Kvaibhav13-Nov-06 1:05
Kvaibhav13-Nov-06 1:05 
AnswerRe: How to diable menu itemin VC++ Pin
Rage13-Nov-06 2:52
professionalRage13-Nov-06 2:52 
GeneralRe: How to diable menu itemin VC++ Pin
Kvaibhav13-Nov-06 19:41
Kvaibhav13-Nov-06 19:41 
QuestionProblem with registering a dll Pin
narayanagvs13-Nov-06 0:36
narayanagvs13-Nov-06 0:36 
AnswerRe: Problem with registering a dll Pin
Mike_99913-Nov-06 1:46
Mike_99913-Nov-06 1:46 
AnswerRe: Problem with registering a dll Pin
Roger Stoltz13-Nov-06 1:46
Roger Stoltz13-Nov-06 1:46 
QuestionMaking a Package Pin
Patriot8112-Nov-06 23:42
Patriot8112-Nov-06 23:42 
AnswerRe: Making a Package Pin
Christian Graus12-Nov-06 23:43
protectorChristian Graus12-Nov-06 23:43 
AnswerRe: Making a Package Pin
toxcct13-Nov-06 3:28
toxcct13-Nov-06 3:28 
AnswerRe: Making a Package Pin
Hamid_RT13-Nov-06 5:33
Hamid_RT13-Nov-06 5:33 

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.