First hy to all,
I need my buttons (on WindowsXP) to look like XP buttons.
Can I do that in MFC with some include staff or I need to do my on draw
buttons ???
Thx. to all.
2. Windows Class to Windows XP - Buttons being cut off in thh botton corner
Hai
I have a form view and on that iam inserting bitmap buttons in thh botton
corner of the formView at DesignTime and it works fine when the XP Theme is
Classic and when i change the theme for Classic to XP Style the button are
cut off and only 1/2 button part only iam able to see and please let me know
why the problem has occured and what are the adjustments i need to make so
that my window size is constant always
Thanks and Regards
suresh
3. Toolbar button image not visible for a disbled button in XP
4. Show/Hide start button and taskbar in XP
Hi everybody I have a mission critical application, so I don't want the user to be able to start other apps on the PC like internet explorer etc. Therefore I want to hide the start button as well as the taskbar and I also want to disable the CTRL-ALT-DELETE bringing up the task manager. How do I do this programatically in C#.NET running the app on windows xp. I have tried several examples found on the internet written in VB, but they don't work on xp. Thanks in advance Kim W.
5. XP Style custom dropdown button - CSharp/C#
6. XP style IE Toolbar Buttons
Hello to all, I m creating a toolbar for IE (ATL DLL). I implemented XP style using manifest file. It works fine. But i have a problem after XP style conversion, my buttons height has been increased. Before XP style button size was (height,width) ~ (22 , 81). After XP style it become (30 , 87). But my toolbar width is same is 22. due to this buttons are not fitting on toolbar and buttons bottom is greater than toolbar bottom edge. can someone plz help me how to solve it Thanks in advance ###Harish Kumar Dixit###
7. XP-Style round edged buttons
8. Radio buttons invisible with XP themes
Hi, I am having some issue with XP theme, when its enabled
radio buttons on my dialog box are invisible. I know that
problem happens only when I handle WM_ERASEBKGND. Can
anyone please suggest how to fix this problem ?
the application is using WTL.
LRESULT OnEraseBkgnd(UINT uMsg, WPARAM wParam,
LPARAM lParam, BOOL& bHandled)
{
static CBitmap *spBmpTop = NULL;
if(!spBmpTop)
{
spBmpTop = new CBitmap();
spBmpTop->LoadBitmap(IDB_TOP);
}
T* pT = static_cast<T*>(this);
HDC hDc = (HDC) wParam;
CDC clientDc(hDc);
CRect rect;
pT->GetClientRect(&rect);
CDC dc;
dc.CreateCompatibleDC(clientDc);
clientDc.FillSolidRect(&rect,::GetSysColor
(COLOR_3DFACE));
HBITMAP hOldBitmap = dc.SelectBitmap
(*spBmpTop);
BITMAP bm;
spBmpTop->GetBitmap(&bm);
clientDc.BitBlt (rect.left + ((rect.right -
bm.bmWidth) / 2),
rect.top,
rect.Width(),
rect.Height(),
dc,
0, 0, SRCCOPY);
dc.SelectBitmap(hOldBitmap);
return TRUE; // we painted the background
}
Thanks a lot