Languages Visual Basic & VB.NET Visual Basic OLE/ COM/ DCOM/ Active-X  

Xp style Ckeckbox control (UPpdate)

download download  
important code information
author:
Pravesh Koirala
minimum requirements:
Xp style Ckeckbox control (UPpdate) description

This is an update of the 1st version that I submitted. Presenting Xp Checkbox with following features. First Release. 1) New Xp style hover effect. 2) Rectangled and Round Rectangled frame. 3) Both Tick mark and Cross mark. 4) Can customize the fill color and hover color 5) Plus you can add your own features and its free to use in your code. Second Release 1) Line methods changed to API. 2) Length of the cross mark and tick mark fixed. 3) 3D looks in Hover Effect. 4) Drawing according to Fontsize 5) Effects on Mouse Down 6) Used double buffering(Memory DC) method. No Flicker at all! 7) Supports BackGround picture!


Hello its me Pravesh Koirala again with another graphical project.

Presenting Xp Checkbox with following features.
First Release.
1) New Xp style hover effect.
2) Rectangled and Round Rectangled frame.
3) Both Tick mark and Cross mark.
4) Can customize the fill color and hover color
5) Plus you can add your own features and its free to use in your code.

Second Release
1) Line methods changed to API.
2) Length of the cross mark and tick mark fixed.
3) 3D looks in Hover Effect.
4) Drawing according to Fontsize
5) Effects on Mouse Down
6) Used double buffering(Memory DC) method. No Flicker at all!
7) Supports BackGround picture!

Feel free to comment. I look forward to hear from you. And please vote please please please. Thanks for your time. For technical suggestions please mail me to pro_science108(at)yahoo.com.
I shall reply you. Thanks for taking your time!
And yes, there is nothing like copyright. Use it in your app or modify it. After all knowledge is not for sale! But please mention my cute name and give me credit of what I made. THanks!

About Memory DC
While it is not a new concept for Advanced programmers but Beginners may find it useful.
When we draw on any Dc or surface then as soon as we add new things the surface (like a form or usercontrol) gets updated quickly and the screen flickers. This flicker may be very much irritative for any developer who is at a beginning step of graphics programming. The Memory Dc concept (Also called double buffering) can be very useful to avoid flicker in these conditions.
Under this concept, we create a DC, that is not shown in the screen, using CreateCompatibleDC API. Then we create a Bitmap to use for that Dc using CreateCompatibleBitmap API. Then we draw all the stuffs in the memory DC. Since it is not shown in the screen so no chance of Flicker! At last when we are finished with the drawing then we copy, what we made in the memory DC, using BitBlt API. Since we updated our control for only one time so screen doesn't flicker!
This is a basic concept about Memory DC. If you are having similar problems in your app then feel free to contact me at pro_science108(at)yahoo.com


File List:
The XP CheckBox/0b
The XP CheckBox/MSSCCPRJ.SCC197b
The XP CheckBox/Readme.txt2Kb
The XP CheckBox/Test Form.frm8Kb
The XP CheckBox/Test FormEx.frm6Kb
The XP CheckBox/Test Project.vbp1Kb
The XP CheckBox/XP CheckBox.ctl22Kb
The XP CheckBox/XP CheckBox.ctx1Kb
The XP CheckBox/test.bmp7Kb

Similar code
FlexGrid control items to an Excel workbook (Popularity: ) : Sample code which demonstrates how to copy items from a FlexGrid control to an Excel workbook.
a2_Star Trek Controls Collection (Popularity: ) : I'm develop new ST controls collection. There is much styles and other propertyes to create custom trekkie controls. But you can create also project that isn't trekkie. Collection have button, label, shape, progressbar and scroll components. Button and label have ...
DH String Extractor (Popularity: ) : Extract any string with any delimiter.
XTools (Popularity: ) : A set of activex controls. The OCX contains 7 controls. There are two different types of textboxes, two types of checkboxes (one made from scratch and you can either have a cross when it is checked, like in WIN NT ...
Asynchronous messages (Popularity: ) : AsynchronousMsg.exe is a very small EXE Activex (only 24K) that can be shared by two applications to provide the ability to send asynchronous messages to each other using events.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 25
version
size in Kb 15
popularity   826/7913374
user rating 4/10
ad


New Code
Popular Code