using onDraw in a dialog based application

hey ppl... as far as i know its only possible 2 use onDraw via the CView.App.... and tht too in a single or multi document interface.... i was wondering if u cud use it in a dialog based application??? basically on clickin the OK button i want a dialog to be displayed which shows a circle... plz temme if dis is possible... thanx....

Comments

  • : hey ppl... as far as i know its only possible 2 use onDraw via the
    : CView.App.... and tht too in a single or multi document
    : interface.... i was wondering if u cud use it in a dialog based
    : application??? basically on clickin the OK button i want a dialog to
    : be displayed which shows a circle... plz temme if dis is possible...
    : thanx....
    :


    It's called OnPaint() and if you use the wizard to create the dialog the wizard will add the OnPaint() function. Otherwise you can add a WM_PAINT message handler just as you would all other message handlers.
    =============================================
    never lie -- the government doesn't like the competition. (Author unknown)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion