How do I create or obtain a CDC* to a dialog in a dialog based MFC project. The closest thing supplied by MFC is a CPaintDC. When I try to create my own CDC* to draw things to the main dialog, it draws using global coordinates and also draws outside the actual dialog.
This is probably a silly little thing I'm overlooking but there is no OnDraw function available to supply me with a CDC*.
Any help would be appreciated.
Nick
This is probably a silly little thing I'm overlooking but there is no OnDraw function available to supply me with a CDC*.
Any help would be appreciated.
Nick