Click here to Skip to main content
15,892,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Antialias TextOut Pin
Kyudos7-May-03 3:23
Kyudos7-May-03 3:23 
GeneralText import wizard Pin
yaname7-May-03 3:01
yaname7-May-03 3:01 
GeneralRe: Text import wizard Pin
Carlos Antollini7-May-03 4:30
Carlos Antollini7-May-03 4:30 
GeneralRe: Text import wizard Pin
yaname7-May-03 4:58
yaname7-May-03 4:58 
General2 subclass for 1 item Pin
JensB7-May-03 2:50
JensB7-May-03 2:50 
GeneralRe: 2 subclass for 1 item Pin
David Crow7-May-03 3:37
David Crow7-May-03 3:37 
GeneralRe: 2 subclass for 1 item Pin
jhwurmbach7-May-03 3:38
jhwurmbach7-May-03 3:38 
GeneralRe: 2 subclass for 1 item Pin
JensB7-May-03 3:46
JensB7-May-03 3:46 
I've got an editbox IDC_EDIT which is attached to a control CString m_edit by classwizard.

Then i've subclassed on InitDialog()
CCheckNumber acEditNumber;
acEditNumber.SubclassDlgItem(IDC_EDIT, this);
-> this checks if input is ok or not.

Now i add:
CColorEdit acColorEditNumber;
acColorEditNumber.SubclassDlgItem(IDC_EDIT, this);
acColorEditNumber.SetTextColor(RGB(250,0,0)); // RED

the program crashes when i subclass the IDC_EDIT again.
But 'ColorEdit' works fine.

And i don't know how i can trace at what line the error occured. When i remove the 2de subclass, programs runs ok.

Greetings
Jens
GeneralRe: 2 subclass for 1 item Pin
JensB7-May-03 4:45
JensB7-May-03 4:45 
GeneralRe: 2 subclass for 1 item Pin
jhwurmbach7-May-03 5:07
jhwurmbach7-May-03 5:07 
GeneralAutocomplete Pin
progman7-May-03 2:28
progman7-May-03 2:28 
GeneralRe: Autocomplete Pin
David Crow7-May-03 3:34
David Crow7-May-03 3:34 
GeneralRe: Autocomplete Pin
progman7-May-03 3:50
progman7-May-03 3:50 
GeneralRe: Autocomplete Pin
David Crow7-May-03 4:28
David Crow7-May-03 4:28 
GeneralHWND and long Pin
Poul Haahr Klemmensen7-May-03 1:15
Poul Haahr Klemmensen7-May-03 1:15 
GeneralRe: HWND and long Pin
Neville Franks7-May-03 2:16
Neville Franks7-May-03 2:16 
GeneralRe: HWND and long Pin
Nitron7-May-03 3:17
Nitron7-May-03 3:17 
GeneralRe: HWND and long Pin
Carlos Antollini7-May-03 4:25
Carlos Antollini7-May-03 4:25 
GeneralRe: HWND and long Pin
Neville Franks7-May-03 11:12
Neville Franks7-May-03 11:12 
GeneralChild dialog in a tab control, works but not the buttons in it Pin
kallareka7-May-03 0:24
kallareka7-May-03 0:24 
GeneralRe: Child dialog in a tab control, works but not the buttons in it Pin
Joan M7-May-03 3:06
professionalJoan M7-May-03 3:06 
GeneralRe: Child dialog in a tab control, works but not the buttons in it Pin
kallareka7-May-03 3:55
kallareka7-May-03 3:55 
GeneralRe: Child dialog in a tab control, works but not the buttons in it Pin
Joan M7-May-03 4:06
professionalJoan M7-May-03 4:06 
GeneralRe: Child dialog in a tab control, works but not the buttons in it Pin
kallareka7-May-03 4:32
kallareka7-May-03 4:32 
GeneralCompilation in add-in Pin
calgonit7-May-03 0:16
calgonit7-May-03 0:16 

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.