|
Prev: linking
Next: symbols not loaded for document
From: Jack on 20 Mar 2008 00:32 Hi, Excuse me for asking such a silly question, as I haven't done this before and I don't know what keywords to search for it with the MSDN. I have a bitmap in my resource folder. The Upper part of it shows a depressed mouse button image and the lower part shows a normal one. When there is a mouseclick event (WM_LBUTTONDOWN) I want certain part of my client area (preloaded with a bitmap with a normal button already), to show the depressed button over the normal button (button animation effect). The button images are sticked to one and say upper part is CRect (0,0,10,10) and lower part is CRect (20,20,30,30) How do I extract the lower part of my image and put it over the normal button? Thanks Jack
From: Jack on 20 Mar 2008 00:34 "Jack" <jl(a)knight.com> ���g��l��s�D:%23AocZNkiIHA.3512(a)TK2MSFTNGP03.phx.gbl... > Hi, > Excuse me for asking such a silly question, as I haven't done this before > and I don't know what keywords to search for it with the MSDN. > > I have a bitmap in my resource folder. > The Upper part of it shows a depressed mouse button image and > the lower part shows a normal one. > > When there is a mouseclick event (WM_LBUTTONDOWN) > I want certain part of my client area (preloaded with a bitmap with a > normal button already), > to show the depressed button over the normal button (button animation > effect). > > The button images are sticked to one and say upper part is CRect > (0,0,10,10) and lower part is > CRect (20,20,30,30) > How do I extract the *Upper* part of my image and put it over the normal button? Thanks Jack
|
Pages: 1 Prev: linking Next: symbols not loaded for document |