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

C / C++ / MFC

 
GeneralRe: CSocket new-b question Pin
anju5-Sep-02 18:45
anju5-Sep-02 18:45 
GeneralRegister DLL in App Pin
Anonymous5-Sep-02 12:05
Anonymous5-Sep-02 12:05 
GeneralRe: Register DLL in App Pin
Joaquín M López Muñoz5-Sep-02 12:20
Joaquín M López Muñoz5-Sep-02 12:20 
GeneralRe: Register DLL in App Pin
Anonymous5-Sep-02 12:29
Anonymous5-Sep-02 12:29 
GeneralRe: Register DLL in App Pin
Joaquín M López Muñoz5-Sep-02 12:41
Joaquín M López Muñoz5-Sep-02 12:41 
GeneralRe: Register DLL in App Pin
Anonymous5-Sep-02 13:24
Anonymous5-Sep-02 13:24 
GeneralCreating Custom Control Pin
MightyThor5-Sep-02 11:15
MightyThor5-Sep-02 11:15 
GeneralRe: Creating Custom Control Pin
Roger Allen6-Sep-02 2:06
Roger Allen6-Sep-02 2:06 
Declare a class inheriting directly from CWnd. Put the initialisation code in the Create() member. You should also create any child windows at this point. FOr example, you mentioned column headers.

To do that you would declare a member varaible of type CHeaderCtrl in the .h file and call Create on it in the Create() of your Cwnd derived class. You would also need to add code to the OnSize of you CWnd class to place the headre control in the correct place on the CWnd's main window. When it comes to drawing the control you put your drawing code i nyour OnPaint() and make sure you don't overwrite areas taken up by the child controls.



Roger Allen
Sonork 100.10016

I think I need a new quote, I am on the prowl, so look out for a soft cute furry looking animal, which is really a Hippo in disguise. Its probably me.
GeneralRe: Creating Custom Control Pin
MightyThor7-Sep-02 9:14
MightyThor7-Sep-02 9:14 
GeneralCTree, change selection on right click Pin
brianwelsch5-Sep-02 11:02
brianwelsch5-Sep-02 11:02 
GeneralRe: CTree, change selection on right click Pin
Tomasz Sowinski5-Sep-02 11:13
Tomasz Sowinski5-Sep-02 11:13 
GeneralRe: CTree, change selection on right click Pin
brianwelsch5-Sep-02 16:04
brianwelsch5-Sep-02 16:04 
GeneralVisual C++ book Pin
marekm5-Sep-02 10:45
marekm5-Sep-02 10:45 
GeneralRe: Visual C++ book Pin
brianwelsch5-Sep-02 10:53
brianwelsch5-Sep-02 10:53 
GeneralRe: Visual C++ book Pin
adamUK5-Sep-02 12:31
adamUK5-Sep-02 12:31 
GeneralRe: Visual C++ book Pin
valikac5-Sep-02 15:32
valikac5-Sep-02 15:32 
GeneralRe: Visual C++ book Pin
Paul Lyons5-Sep-02 19:01
Paul Lyons5-Sep-02 19:01 
GeneralDialog Based & Menu Update :: MFC Pin
valikac5-Sep-02 10:45
valikac5-Sep-02 10:45 
GeneralRe: Dialog Based & Menu Update :: MFC Pin
Tomasz Sowinski5-Sep-02 11:14
Tomasz Sowinski5-Sep-02 11:14 
GeneralRe: Dialog Based & Menu Update :: MFC Pin
valikac5-Sep-02 12:29
valikac5-Sep-02 12:29 
GeneralRe: Dialog Based & Menu Update :: MFC Pin
jhwurmbach5-Sep-02 20:31
jhwurmbach5-Sep-02 20:31 
GeneralRe: Dialog Based & Menu Update :: MFC Pin
JT Anderson5-Sep-02 12:39
JT Anderson5-Sep-02 12:39 
GeneralRe: Dialog Based & Menu Update :: MFC Pin
valikac5-Sep-02 13:55
valikac5-Sep-02 13:55 
Questionhow to check that a certain table exists in the db? Pin
ns5-Sep-02 10:18
ns5-Sep-02 10:18 
AnswerRe: how to check that a certain table exists in the db? Pin
Carlos Antollini5-Sep-02 10:28
Carlos Antollini5-Sep-02 10:28 

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.