摘要:
Contents Introduction Background Owner-draw DRAWITEMSTRUCT Inside WndProc() The function to handle WM_DRAWITEM Additional information History Introduction Although ... 阅读全文
posted @ 2008-08-11 09:11
广陵散仙(www.cnblogs.com/junzhongxu/)
阅读(561)
评论(0)
推荐(0)
摘要:
Introduction I wanted to draw a button which is transparent to its back ground image and hence had gone through several articles about button styles - transparent buttons. They were all very tedious ... 阅读全文
posted @ 2008-08-11 09:10
广陵散仙(www.cnblogs.com/junzhongxu/)
阅读(392)
评论(0)
推荐(0)
摘要:
Introduction The idea was to have a small piece of code which makes it easy to create a button with an icon on it. I saw a lot of great code, but it was not exactly what I want. So I decided to creat... 阅读全文
posted @ 2008-08-11 09:09
广陵散仙(www.cnblogs.com/junzhongxu/)
阅读(387)
评论(0)
推荐(0)
摘要:
Introduction When I was writing an application for an Arabic customer in C++, I noticed that the buttons/labels in my CDialog did not understand my Arabic text. This class allows you to write any Uni... 阅读全文
posted @ 2008-08-11 09:07
广陵散仙(www.cnblogs.com/junzhongxu/)
阅读(293)
评论(0)
推荐(0)
摘要:
Introduction *I'm not good at English, but if you can understand my story, isn't that enough? :) When I made this application, especially as dialog based, a lot of buttons were used. Buttons are ve... 阅读全文
posted @ 2008-08-11 09:06
广陵散仙(www.cnblogs.com/junzhongxu/)
阅读(429)
评论(0)
推荐(0)
摘要:
Introduction This article shows the use of a Push button with a drop down menu, similar to the one found in the Office 2000 suite. The code is encapsulated in a MFC class. The class itself is derived... 阅读全文
posted @ 2008-08-11 09:02
广陵散仙(www.cnblogs.com/junzhongxu/)
阅读(466)
评论(0)
推荐(0)
摘要:
Introduction The idea was simple, I needed to use simple hyperlink buttons in my application. I searched for them on the net and could not find any, so I decided to write down my own class of Hyperli... 阅读全文
posted @ 2008-08-11 09:01
广陵散仙(www.cnblogs.com/junzhongxu/)
阅读(237)
评论(0)
推荐(0)
摘要:
Introduction This tutorial could well be the simplest windows program you could ever write. All you need to understand this tutorial is the basics of windows messaging. This tutorial is about the CB... 阅读全文
posted @ 2008-08-11 08:58
广陵散仙(www.cnblogs.com/junzhongxu/)
阅读(204)
评论(0)
推荐(0)
摘要:
1.Introduction This article presents the construction of a templated ASP.NET control, working as a PleaseWait button. Using C# with Asp.Net 2.0, you will see how to create a templated control and add ... 阅读全文
posted @ 2008-08-11 08:57
广陵散仙(www.cnblogs.com/junzhongxu/)
阅读(438)
评论(0)
推荐(0)
摘要:
Introduction This article's main purpose is to show another aspect of BEGIN_MESSAGE_MAP(). In MFC, whenever there is a need to make a button control dynamic, we often get hung up on the point of defi... 阅读全文
posted @ 2008-08-11 08:55
广陵散仙(www.cnblogs.com/junzhongxu/)
阅读(268)
评论(0)
推荐(0)

浙公网安备 33010602011771号