hi, does anyone know if a layered window can be a direct3d client window?
Live long and prosper johny74656@gmail.com
hi, does anyone know if a layered window can be a direct3d client window?
Live long and prosper johny74656@gmail.com
Hi, I've created a new horz scroll in a CDialog with this: wnd_hscroll.Create(WS_CHILD | WS_VISIBLE,rct_hscroll ,this,9999); and set its range with: wnd_hscroll.SetScrollRange(1,1000,TRUE); However, the control is not willing to respond to SetScrollPos or sliding the gripper when the app is running. Any suggestions? Thx.
Live long and prosper johny74656@gmail.com
sounds to me like something's getting too hot. (check the CPU fan is spinning, if u have a fan on graphics card, also check this is spinnig).
Live long and prosper johny74656@gmail.com
you will probably need to subclass the item. here is what you do: - create a data member for the control you subclass in the class of the owner window - include the new control header - change the type of the member so, you will change class CMyDialog : public CDialog { //blah, blah, blah CButton m_btn; }; into #include "RoundButton2.h" class CMyDialog : public CDialog { //blah, blah, blah CRoundButton2 m_btn; }; there are other ways as well, but this looks the best from my POINT of CView
Live long and prosper johny74656@gmail.com
Does anyone know how to get another "virtual folder" to My Compuer? What I mean is something like the Recycle Bin. - not visible to the user directly, but can be accessed via that icon in the Explorer. Live long and in prosper johny74656@gmail.com
does anyone know how to subclass all controls of a specific type in a window? what i mean is the window style just like corel draw 9. everything including the CFileDialog and the print dialogs has the same style - same buttons, edit boxes,etc (i dont believe they subclassed each control separately) Live long and in prosper johny74656@gmail.com
Thx, this works! Live long and in prosper johny74656@gmail.com
Is there any way of making a file dialog a member of a property sheet (just like the one in MS VB6)? Plz help! Live long and in prosper johny74656@gmail.com
You are not serious with Mozilla X| , are you? Live long and in prosper johny74656@gmail.com
First, you need to get the dimensions of the bitmaps, then allocate an appropriate array (wid*hei*bpp/8 bytes). Use the GetBitmapBits function to populate the array. Do the same with the second array. Subtract them byte by byte. Use the SetBitmapBits to fill the CBitmap. Live long and in prosper johny74656@gmail.com