Hi i am not able to make checkbox transparent
I have attached the sample project
Can some one tell me whats the problem in it
thanx a lot
Printable View
Hi i am not able to make checkbox transparent
I have attached the sample project
Can some one tell me whats the problem in it
thanx a lot
So you expect us to download and fix everything for you ¿
Have a look at these :
http://groups.google.com/group/micro...56fbce7e4937bb
http://forums.microsoft.com/MSDN/Sho...07745&SiteID=1
http://www.google.com/search?hl=en&q...vc%2B%2B&meta=
thanx for the reply HanneSThEGreaT
i have gone through all the links before i post the question here
i implimented the same method but still check box is not getting transparent
there must be something more i need to do r something i missd out whic i was not able to figured out
thats why i posted the code
am still searching for the solution on google
meanwhile if some one can figure out please let me
Rather Google Groups where it has been posted many times....Quote:
Originally Posted by saratk
Hi saratk,
As there is no such control available, you need to create one yourself. If you have gone through the links provided by HanneSThEGreaT, you would have noticed one such custom control by AliR(link 2).
Try to understand and use it in your code. I have done the same. Please go through the zip file which have modified version for your project. Please note that I havent tested it.
Thanks
sachin thanx for the reply and effort you put in to resolve the issue..
what actually u r doing in the code is painting the checkbox lable with the dialog background color ( what ever the color dialog has)..
i found this work arrond before posting to this forum
but in here the case is different... i am painting gradient color in dialog and i donno whic color comes during runtime
so i cant hard code the color though if i hard code if i know the color beforehand .. it wont be helpfull because the color wud be gradient so it luks patch
and
I have done the same thing what was mentioned in the link2 given by
the attached zip file shows the same... but no results
but found some interesting thing in those links which i didnt understand clearly
here it goes
"
investigating the manifest file, seems that the unicode project utilize
version 6 common control while non-unicode don't. could you please tel me
how to unutilize version6 common control?"
I donno how to unutilize version6 comman control... that may help me to resolve the issue
I am still investigating on the issue
if i found solution will surly post in here
if some one know abt it please post in here
anyway thanx a lot for all friends who r responding on this isuue
Hello..
May be you can try setting the brush type to "NULL_BRUSH". Well I am not so sure about this one.
To include version 6 common controls in your project , try adding these lines to to stdafx.h file. It works for me..
Hope that helps...Code:if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_IA64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
All the best..
I can make Checkbox transparent on win2k3 but with the same code
is not working on vista
I am working on windows vista enterprise
the same code is not making checkbox control transparent
can some one help me solving the issue
and please some one let me know
how to unutilize version6 common control
Thank you