Check out Wokawidget Component Suite in CodeBank. It contains a project called XP Button. You can create oddly shapped buttons with the standard XP theme regardless if you are running XP or not.
@RobDog888 : Excellent stuff.. but i cannot copy the whole code into mine.. looks very complex.. i have to show it as a project and its looking too complicated..
@iPrank : i didnt understand this.. can u explain.. or probably a project with it.. pics should have been there
The easiest way, and probably a way that would be acceptable to the person reviewing your project, would be to replace the command buttons with image controls and place pictures in the images.
Now thats EXCELLENT!!! works like a charm.. repped for the info... and HACK too..
Just wanted to know.. can we change the color of forms also to XP theme like.. not much color platelets show in VB6.. and also the color when the mouse is over the button
also when the prog is not running on XP.. i hope it will not give any error..
1) Do u know any place where I can get the color values of all colors?? especially XP color theme
2) If the prog is not running on XP ( regarding the manifest ).. suppose on 98 or something.. it will not give any error.. right??
3) Is there any way to put the color same for all the forms the same.. i mean if i dont want to put the same line of code again and again in each form.. is there any way to make all same at once..
4) Also can u look at this pic ?? can u tell me why does 1 button have edges and 2nd dosent??
Last edited by khandu; Feb 21st, 2007 at 01:26 PM.
1. You can get the values out of the property grid.
2. No it will not error but it will not draw any XP theming at all.
3. No, you could loop through the Forms collection of your opened forms and set the color. Or manually set the color in the property grid for each form.
4. Because its in a frame. Its a bug. Place the button in a picturebox and set the box to flat and no border so it cant be seen but the button.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
You could also put a shape object below your button or whatever and give the appearance of a shape. Might not be what you are looking for however, looks great with textboxes/listboxes etc.