when i wrote this , it gave error
invalid conversion from `void*' to `LPARAM'
initializing argument 4 of `LRESULT SendMessageA(HWND__*, UINT, WPARAM, LPARAM)'
how to correct it?
thanks
what the problem with this
Sorry, forgot the cast.
SendMessage( hBtn, BM_SETIMAGE, IMAGE_BITMAP, reinterpret_cast<LPARAM>(hBitmap) );
but now i cant clear my screen since the buttons are there permanently
how to remove them from my opengl window?
please help
thanks
how to remove them from my opengl window?
please help
thanks
i was clearing my screen by glClear(GL_COLOR_BUFFER_BIT);
but buttons were not dispearing
can someone help
thanks
but buttons were not dispearing
can someone help
thanks
Buttons and other controls will automatically redraw themselves, if you don't want them to be drawn you can hide them with ShowWindow.
Quote:Original post by MJP
Buttons and other controls will automatically redraw themselves, if you don't want them to be drawn you can hide them with ShowWindow.
how to hide them by showwindow . i think we have to use
ShowWindow(hWnd, nFunsterStil);
but with what value of nFunsterStil ?
Quote:Original post by MJP
All the possible values are listed in the documentation.
i tried ShowWindow(hBtn, SW_HIDE); but it does not remove the button from my window
please help
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement