Click to See Complete Forum and Search --> : AppWindow and instance


smack_2k2
July 31st, 2004, 08:51 AM
1 . By defining your own window class you get to have a HWND and HINSTANCE vars to use later. Any ideea how to get them in a dialog-based app ?

2. If anyone of you used "easysize" macros (http://www.codeproject.com/dialog/easysize.asp), then i have a question:
I have a big PictureControl that resizes width and height, and some buttons under it. I wanna use MoveWindow() of course to hide the blank spot when i hide the buttons, but the big PicControl now resizes to keep the distance from the bottom, natural. So ... how do i hide some items, w/o leaving a empty space there ?

3 . On my form i have a bitmap that resizes with the form, but sometimes on resoize it "flickers". How do i avoid the flickering ?