|
-
July 30th, 2005, 05:09 PM
#1
Repaint Items in OwnerDraw Menu
Hello people,
ok i have a big problem. I wil redraw my OwnerDraw Menu every second. So i wrote a Timerproc and start it with SetTimer:
Here are my TimerProc:
void CALLBACK TimerProc(HWND hWnd,UINT nMsg,UINT nIDEvent,DWORD dwTime)
{
count++;
DrawMenuBar(AfxGetMainWnd()->GetSafeHwnd());
}
But it doesn't redraw the MenuItems. The header will redraw but not the Items. Why????
Sorry for my bad english
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|