Click here to Skip to main content
15,919,613 members
Home / Discussions / C#
   

C#

 
GeneralDistributed App Pin
Eka15-Aug-02 19:42
Eka15-Aug-02 19:42 
GeneralRe: Distributed App Pin
Nnamdi Onyeyiri16-Aug-02 0:51
Nnamdi Onyeyiri16-Aug-02 0:51 
GeneralRe: Distributed App Pin
James T. Johnson16-Aug-02 1:42
James T. Johnson16-Aug-02 1:42 
QuestionOnPaint() What am I missing? Pin
albean15-Aug-02 17:49
albean15-Aug-02 17:49 
AnswerRe: OnPaint() What am I missing? Pin
Ray Cassick15-Aug-02 17:58
Ray Cassick15-Aug-02 17:58 
AnswerRe: OnPaint() What am I missing? Pin
Nish Nishant15-Aug-02 19:09
sitebuilderNish Nishant15-Aug-02 19:09 
GeneralRe: OnPaint() What am I missing? Pin
albean15-Aug-02 19:30
albean15-Aug-02 19:30 
GeneralRe: OnPaint() What am I missing? Pin
Nish Nishant15-Aug-02 22:32
sitebuilderNish Nishant15-Aug-02 22:32 
albean wrote:
Perhaps, I’m making an incorrect assumption. Will overriding the OnPaint method prevent the controls placed on the form from appearing if I don’t call base.OnPaint ?

This might seem strange to you, but even if you don't call the base class OnPaint, the form will draw itself neat and proper. Calling the base class only ensures that all the other delegates attached to this event are called.

Overriding OnPaint is not at all the same as handling CWnd::OnPaint in MFC or WM_PAINT in pure win32. If you really want to do all the painting on your own, override WndProc and handle WM_PAINT messages.

Regards,
Nish


Author of the romantic comedy

Summer Love and Some more Cricket [New Win]

Review by Shog9
Click here for review[NW]

AnswerRe: OnPaint() What am I missing? Pin
James T. Johnson16-Aug-02 0:52
James T. Johnson16-Aug-02 0:52 
QuestionHow to add a new record and get an autonumber field value Pin
Luis Alonso Ramos15-Aug-02 17:31
Luis Alonso Ramos15-Aug-02 17:31 
AnswerRe: How to add a new record and get an autonumber field value Pin
albean15-Aug-02 18:46
albean15-Aug-02 18:46 
GeneralRe: How to add a new record and get an autonumber field value Pin
Luis Alonso Ramos15-Aug-02 22:28
Luis Alonso Ramos15-Aug-02 22:28 
GeneralRe: How to add a new record and get an autonumber field value Pin
James T. Johnson16-Aug-02 1:15
James T. Johnson16-Aug-02 1:15 
GeneralRe: How to add a new record and get an autonumber field value Pin
Nnamdi Onyeyiri16-Aug-02 1:51
Nnamdi Onyeyiri16-Aug-02 1:51 
GeneralRe: How to add a new record and get an autonumber field value Pin
James T. Johnson16-Aug-02 1:54
James T. Johnson16-Aug-02 1:54 
GeneralRe: How to add a new record and get an autonumber field value Pin
Luis Alonso Ramos16-Aug-02 6:00
Luis Alonso Ramos16-Aug-02 6:00 
GeneralRe: How to add a new record and get an autonumber field value Pin
Luis Alonso Ramos16-Aug-02 6:17
Luis Alonso Ramos16-Aug-02 6:17 
GeneralRe: How to add a new record and get an autonumber field value Pin
James T. Johnson16-Aug-02 8:20
James T. Johnson16-Aug-02 8:20 
GeneralRe: How to add a new record and get an autonumber field value Pin
Luis Alonso Ramos17-Aug-02 8:20
Luis Alonso Ramos17-Aug-02 8:20 
GeneralControls not appearing correctly Pin
Luis Alonso Ramos15-Aug-02 17:23
Luis Alonso Ramos15-Aug-02 17:23 
GeneralRe: Controls not appearing correctly Pin
TigerNinja_15-Aug-02 18:57
TigerNinja_15-Aug-02 18:57 
GeneralRe: Controls not appearing correctly Pin
Luis Alonso Ramos15-Aug-02 22:31
Luis Alonso Ramos15-Aug-02 22:31 
GeneralNice Link :) Pin
leppie15-Aug-02 15:20
leppie15-Aug-02 15:20 
GeneralRe: Nice Link :) Pin
David Stone15-Aug-02 19:11
sitebuilderDavid Stone15-Aug-02 19:11 
GeneralRe: Nice Link :) Pin
Nnamdi Onyeyiri16-Aug-02 0:49
Nnamdi Onyeyiri16-Aug-02 0:49 

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.