The code that I wrote is just a template for what you need to do.. USERPROFILE in WindowsNT 4.0 returns the
user's profile location, under which I can get to the desktop.
Please don't feel limited to this code, feel free to modify the code to put the shortcut wherever you
need. You can find the path to the desktop in the registry and or in the Win98 environment.. I do my work on
WinNT so the USERPROFILE suits me, but by all means, feel free to modify it to suit your development
Take my code as a "template" for your work, not as a rigid component.
I added an Edit Control in OnCtlColor function:
and it works well.
The problem is I want to make a RichEditCtrl transparent
like Edit Ctrl one but the nCtlColor parameter
hasn't a value for Rich Edit.
you can use it in a property sheet also
just let CBitmapDialog derive from CPropertyPage
then the dialog you intended to be on one of the panes
you derive from you're new CBitmapPropertySheet or what
ever you name it. now follow the steps in the main HTML
A very usefull class !!, but
it seems to me that it is impossible to change the text color for a static control via the CtlColor()
function of that static control. I did not found a solution for it yet. e.g. if you use the HyperLink control
with this class, the hyperlink stays black at any time. You can solve it by removing the switch case for
static controls from the class (in the CtlColor() function), but then static controls aren't transparent
anymore, and you have to make them transparent "by yourself."