Click here to Skip to main content
16,006,065 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to set the color of theme bar? Pin
vividtang24-May-04 22:59
vividtang24-May-04 22:59 
GeneralProblem in Dialog Bar Pin
P. Gnana Prakash24-May-04 22:56
P. Gnana Prakash24-May-04 22:56 
QuestionHow can i get & set folder acess permission? Pin
Shuang. Wu24-May-04 22:17
Shuang. Wu24-May-04 22:17 
AnswerRe: How can i get & set folder acess permission? Pin
Anthony_Yio24-May-04 23:41
Anthony_Yio24-May-04 23:41 
GeneralNetwork patches Pin
24-May-04 21:18
suss24-May-04 21:18 
GeneralNetwork patches Pin
ykutanoor24-May-04 21:18
ykutanoor24-May-04 21:18 
GeneralRe: Network patches Pin
David Crow25-May-04 2:11
David Crow25-May-04 2:11 
QuestionCEDit creation through Dialog-Resource, OnNcPaint not called, why ? Pin
ohadp24-May-04 20:57
ohadp24-May-04 20:57 
I have a dialog with about 15 edit controls.

The controls are a subclass I've made of CEdit, CMyEdit for the matter.

2 out of the 15 CMyEdit controls don't have their OnNcPaint override called, for no apparent reason. all edit-boxes are declared the same way in the resource-editor, no special handling of any of them not in resources nor in code.

I've tried overriding OnCreate, OnNcCreate (added ON_WM_XXX ofcourse) and Create itself but none of them are ever called.

What am I missing out ?

p.s. - what I need is a 'point of intervention' during the creation/post-creation of the edit-control during which the control is already sized and positioned correctly.

AnswerRe: CEDit creation through Dialog-Resource, OnNcPaint not called, why ? Pin
Johan Rosengren24-May-04 23:19
Johan Rosengren24-May-04 23:19 
GeneralRe: CEDit creation through Dialog-Resource, OnNcPaint not called, why ? Pin
ohadp25-May-04 0:02
ohadp25-May-04 0:02 
GeneralRe: CEDit creation through Dialog-Resource, OnNcPaint not called, why ? Pin
Johan Rosengren25-May-04 0:35
Johan Rosengren25-May-04 0:35 
GeneralRe: CEDit creation through Dialog-Resource, OnNcPaint not called, why ? Pin
ohadp26-May-04 20:34
ohadp26-May-04 20:34 
GeneralRe: CEDit creation through Dialog-Resource, OnNcPaint not called, why ? Pin
Johan Rosengren26-May-04 20:39
Johan Rosengren26-May-04 20:39 
QuestionHow to change the Luminosity/Intensity of a Pixel?? Pin
anuragvelekkattu24-May-04 18:43
anuragvelekkattu24-May-04 18:43 
AnswerRe: How to change the Luminosity/Intensity of a Pixel?? Pin
*Dreamz24-May-04 18:56
*Dreamz24-May-04 18:56 
AnswerRe: How to change the Luminosity/Intensity of a Pixel?? Pin
Kamyar Souri24-May-04 20:01
Kamyar Souri24-May-04 20:01 
AnswerRe: How to change the Luminosity/Intensity of a Pixel?? Pin
Branislav25-May-04 2:00
Branislav25-May-04 2:00 
GeneralAbout Service Pack Pin
Northbird24-May-04 18:40
Northbird24-May-04 18:40 
GeneralRe: About Service Pack Pin
SimasT24-May-04 23:10
SimasT24-May-04 23:10 
QuestionHow to choose Best Adapter ? Pin
.NetRams24-May-04 18:37
.NetRams24-May-04 18:37 
AnswerRe: How to choose Best Adapter ? Pin
David Crow25-May-04 2:15
David Crow25-May-04 2:15 
Generaldrawing on child windows Pin
ashxly24-May-04 18:31
ashxly24-May-04 18:31 
GeneralRe: drawing on child windows Pin
Johan Rosengren24-May-04 23:27
Johan Rosengren24-May-04 23:27 
GeneralGetTitleBarInfo Pin
TrungHuynh24-May-04 16:51
TrungHuynh24-May-04 16:51 
GeneralRe: GetTitleBarInfo Pin
Michael Dunn24-May-04 17:56
sitebuilderMichael Dunn24-May-04 17:56 

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.