Search:
Type: Posts; User: karhong
Search:
Search took 0.04 seconds.
-
November 12th, 2009, 04:09 AM
Hi,
I've search throughout the net, cant find any solution. Hope someone able to help me.
My apps had a panel which can draw many rect. The app can be moved by draggin left/right using mouse....
-
I've tested using regions.. but.. it doesnt work
any help?
-
Can you give me some sample on how to draw it ?
thank you for your reply!
-
Hi,
I've created CCustomEdit inherited from CEdit and managed to change its background color and text color.
I'm trying to change the shape of it ( eg : on each end i plan to make it like curve a...
-
January 14th, 2009, 04:45 AM
oh... i've tested to change to classic... the background color changed..
any idea why xp style wont work?
Is there any other solution so that xp style will work for the background color change?
-
January 14th, 2009, 04:03 AM
when i added that line to the "OnCreate" on mainfrm
Nothing happen. It will come out the same color "gray"
Its just like... either i add that line or dindt add that line, the outcome is the...
-
January 13th, 2009, 08:07 PM
Victor : I don't know why it works on ur place but not mine T_T
Alin : I've tried that too before, but the seperator color is still gray in color. Can i set the seperator become more...
-
January 13th, 2009, 04:57 AM
I've tried that, but it did not give any effect..
m_wndStatusBar.GetStatusBarCtrl().SetBkColor(RGB(255,255,255));
Do i need to do a custom status bar to make my background color change in MFC...
-
January 13th, 2009, 02:53 AM
Is there any ways for me to set the seperator on the status bar become smaller?? by default, the width of it is 0.1cm
Or can I disable/remove the seperator between the item in the status bar ??
-
January 13th, 2009, 01:27 AM
Hi, I'm able to set the text and the background color of the text for Status bar, but I'm not able to set the color for the 'seperator' of the status bar.
I have 3 column on the status bar, each of...
-
January 9th, 2009, 04:13 AM
yea... tried that.. but no luck T_T
-
January 8th, 2009, 11:14 PM
Hi,
I'm loading resource>toolbar into CImageList
When i draw using imageList.draw, then the transparent is no more work
any idea?
CImageList ImgList;
COLORREF rgbTransparentColor =...
-
January 2nd, 2009, 04:24 AM
Has anyone of u used this article owner draw menu?
If anyone used it and know how to solve my problem, Please help - Highly Appreciated
http://www.codeproject.com/KB/menus/bcmenu.aspx
Hi,...
-
December 30th, 2008, 04:54 AM
Has anyone of u used this article owner draw menu?
If anyone used it and know how to solve my problem, Please help - Highly Appreciated
http://www.codeproject.com/KB/menus/bcmenu.aspx
Hi,...
-
December 23rd, 2008, 07:53 PM
how do i check and set the toolbar item when mouse hover over it?
if i use
m_wndToolBar.GetClientRect(&rect);
this only get the whole toolbar CRect.. what i want is to set the background...
-
December 23rd, 2008, 04:47 AM
Hi, can anyone give me some hint on how to change the background color of the toolbar when the mouse hover/point to it?
i've tried WM_EraseBkGnd
Regards,
KH
-
December 19th, 2008, 02:12 AM
oh.. got it.. thanks !!
Another question..
How do i get the icon/bitmap from CMenu and then draw it on
void CMyMenu:: DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
{
}
-
December 19th, 2008, 01:11 AM
How do i differentiate whether its a check mark / radio mark ??
if(MyDrawItemStruct->itemState & ODS_CHECKED)//this is to check whether there is either check on the submenu
{
//inside...
-
December 17th, 2008, 08:46 PM
oh thanks !!
it worked out now ! ^^
-
December 17th, 2008, 04:32 AM
Hi, Is there any ways for me to add a check marks or icon into the submenu?
I'm currently creating owner draw menu.
So far, I only able to print out the text into the submenu... I failed to put...
-
December 16th, 2008, 08:09 PM
thank you for your responce ^^
I had it worked out by searching for a \t
because the text and the shortcut key will be seperated with a tab
-
December 16th, 2008, 04:57 AM
Hi, I've created an owner draw Menu and i wanted to get the text and the shortcut key seperately. Any idea??
By calling below code, it will get both text and shortcut key and put inside a string....
-
December 15th, 2008, 07:46 PM
Thanks to both of your reply ^^
my question solved by following Mike Harnad
by comparing ODS_HOTLIGHT, then i set the color...
when i mouse over, then it will come out
THANKS !!
bestest...
-
December 11th, 2008, 10:28 PM
Hi, I wanted to ask if anyone ever go into this link, which teaches us how to do an Owner Draw Menu.
http://www.codeguru.com/cpp/controls/menu/article.php/c3721/
By following this tutorial,...
-
December 9th, 2008, 04:16 AM
To change the background color of MenuBar, simply add below's line of code, beginning of mainframe OnCreate
CBrush* NewBrush;
NewBrush = new CBrush;...
|
Click Here to Expand Forum to Full Width
|