Click here to Skip to main content
15,891,910 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I execute a .chm file? Pin
Hashim Saleem27-Jul-03 4:07
Hashim Saleem27-Jul-03 4:07 
QuestionHow to put background image into CListCtrl. Pin
Artem Moroz26-Jul-03 12:58
Artem Moroz26-Jul-03 12:58 
AnswerRe: How to put background image into CListCtrl. Pin
Beer2626-Jul-03 13:08
Beer2626-Jul-03 13:08 
AnswerRe: How to put background image into CListCtrl. Pin
Michael Dunn26-Jul-03 13:45
sitebuilderMichael Dunn26-Jul-03 13:45 
GeneralRetrieving selected item in Classview from add-in Pin
joltman26-Jul-03 9:36
joltman26-Jul-03 9:36 
GeneralRe: Retrieving selected item in Classview from add-in Pin
Beer2626-Jul-03 11:03
Beer2626-Jul-03 11:03 
GeneralSDI View question Pin
DougW4826-Jul-03 7:57
DougW4826-Jul-03 7:57 
GeneralRe: SDI View question Pin
Niall Barr26-Jul-03 9:49
professionalNiall Barr26-Jul-03 9:49 
If you want want to use a dialog as your main view either use AppWizard to create a dialog based application or, if you really want an SDI app, in the final stage of AppWizard change the base class of your view class to CFormView.

OnPaint is called every time the window needs redrawn, so is not the place to create controls. You could overload the Create method for the view and create them there.

You probably should get hold of a book on MFC programming - I found an earlier edition of this one very useful when I was learning the basics (I still refer to it a lot).

Niall.
GeneralRe: SDI View question Pin
Bob Stanneveld27-Jul-03 8:21
Bob Stanneveld27-Jul-03 8:21 
QuestionHow to transfer data from one dialog box to another, Pin
Deepak Samuel26-Jul-03 6:39
Deepak Samuel26-Jul-03 6:39 
AnswerRe: How to transfer data from one dialog box to another, Pin
valikac26-Jul-03 7:01
valikac26-Jul-03 7:01 
AnswerRe: How to transfer data from one dialog box to another, Pin
User 665826-Jul-03 7:08
User 665826-Jul-03 7:08 
GeneralRe: How to transfer data from one dialog box to another, Pin
Febin Elizabeth15-Mar-09 23:06
Febin Elizabeth15-Mar-09 23:06 
GeneralHelp in COM Pin
Snyp26-Jul-03 6:35
Snyp26-Jul-03 6:35 
GeneralRe: Help in COM Pin
valikac26-Jul-03 7:02
valikac26-Jul-03 7:02 
GeneralRe: Help in COM Pin
Toni7826-Jul-03 7:35
Toni7826-Jul-03 7:35 
GeneralProblem with CommunicationPort Pin
soobot26-Jul-03 5:49
soobot26-Jul-03 5:49 
GeneralRe: Problem with CommunicationPort Pin
Toni7826-Jul-03 7:37
Toni7826-Jul-03 7:37 
GeneralProblem with openning CommPort Pin
soobot26-Jul-03 5:41
soobot26-Jul-03 5:41 
GeneralHyperlinks in a CTreeCtrl Pin
XP26-Jul-03 5:26
XP26-Jul-03 5:26 
GeneralRe: Hyperlinks in a CTreeCtrl Pin
Beer2626-Jul-03 6:49
Beer2626-Jul-03 6:49 
GeneralRe: Hyperlinks in a CTreeCtrl Pin
Andrew Schetinin26-Jul-03 8:29
Andrew Schetinin26-Jul-03 8:29 
QuestionPointer? Pin
wow999926-Jul-03 5:04
wow999926-Jul-03 5:04 
AnswerRe: Pointer? Pin
Maximilien26-Jul-03 5:10
Maximilien26-Jul-03 5:10 
GeneralRe: Pointer? Pin
wow999926-Jul-03 5:15
wow999926-Jul-03 5:15 

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.