Click here to Skip to main content
15,914,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_SIZE issue w/ Raw Win32s Pin
Blake Miller24-Feb-05 5:46
Blake Miller24-Feb-05 5:46 
GeneralRe: WM_SIZE issue w/ Raw Win32s Pin
realloc24-Feb-05 12:11
realloc24-Feb-05 12:11 
GeneralMainMenu component Pin
MDowning22-Feb-05 14:10
MDowning22-Feb-05 14:10 
GeneralGathering ethernet network statistics Pin
Bail Organa22-Feb-05 13:55
Bail Organa22-Feb-05 13:55 
GeneralRe: Gathering ethernet network statistics Pin
David Crow22-Feb-05 14:07
David Crow22-Feb-05 14:07 
GeneralRe: Gathering ethernet network statistics Pin
Bail Organa23-Feb-05 10:19
Bail Organa23-Feb-05 10:19 
GeneralRe: Gathering ethernet network statistics Pin
David Crow23-Feb-05 10:28
David Crow23-Feb-05 10:28 
GeneralOnDraw() troubles.... Pin
bitpusher22-Feb-05 10:34
bitpusher22-Feb-05 10:34 
Hello,

My app draws its own array of lines with a CButton array inside the OnDraw() method. However, when resizing the window, the lines look good, except that the background of the previous CButton window positions is white (erased). Upon overloading the OnEraseBackground() method in the CButton class, I see that it’s called AFTER the lines are drawn in OnDraw(). How do I get the background erase method to execute before the lines are drawn? Or, how do I get the CButtons to be updated COMPLETELY before the lines are drawn (the code draws the lines after calling the CButton.MoveWindow() methods ).

thanks,

JennyP
GeneralRe: OnDraw() troubles.... Pin
John R. Shaw22-Feb-05 16:10
John R. Shaw22-Feb-05 16:10 
GeneralRe: OnDraw() troubles.... Pin
bitpusher23-Feb-05 6:40
bitpusher23-Feb-05 6:40 
GeneralRe: OnDraw() troubles.... Pin
bobi_zcl22-Feb-05 21:50
bobi_zcl22-Feb-05 21:50 
GeneralRe: OnDraw() troubles.... Pin
bitpusher23-Feb-05 6:36
bitpusher23-Feb-05 6:36 
GeneralSTL sort functor question Pin
Maximilien22-Feb-05 10:03
Maximilien22-Feb-05 10:03 
GeneralRe: STL sort functor question Pin
Gevorg22-Feb-05 10:09
Gevorg22-Feb-05 10:09 
GeneralRe: STL sort functor question Pin
Michael Dunn22-Feb-05 11:11
sitebuilderMichael Dunn22-Feb-05 11:11 
GeneralQuestion about the copy constructor Pin
Budric B.22-Feb-05 9:00
Budric B.22-Feb-05 9:00 
GeneralRe: Question about the copy constructor Pin
Mohammad A Gdeisat22-Feb-05 10:09
Mohammad A Gdeisat22-Feb-05 10:09 
GeneralRe: Question about the copy constructor Pin
S. Senthil Kumar22-Feb-05 18:19
S. Senthil Kumar22-Feb-05 18:19 
GeneralRe: Question about the copy constructor Pin
Anonymous22-Feb-05 21:55
Anonymous22-Feb-05 21:55 
GeneralRe: Question about the copy constructor Pin
S. Senthil Kumar22-Feb-05 18:35
S. Senthil Kumar22-Feb-05 18:35 
GeneralRe: Question about the copy constructor Pin
John R. Shaw22-Feb-05 18:58
John R. Shaw22-Feb-05 18:58 
GeneralThank you all Pin
Budric B.23-Feb-05 3:05
Budric B.23-Feb-05 3:05 
GeneralDebuggin mixed (managed/unmanaged) code Pin
CLermen22-Feb-05 8:44
CLermen22-Feb-05 8:44 
GeneralRe: Debuggin mixed (managed/unmanaged) code Pin
Sheng Jiang 蒋晟22-Feb-05 13:25
Sheng Jiang 蒋晟22-Feb-05 13:25 
GeneralRe: Debuggin mixed (managed/unmanaged) code Pin
CLermen23-Feb-05 2:31
CLermen23-Feb-05 2:31 

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.