|
Oooops typo, last line should be:-
pSubMenu->EnableMenuItem(ID_FILE_TRANSFER, MF_GRAYED | MF_BYCOMMAND);
|
|
|
|
|
I have a parent dialog and some child dialogs in it. The parent dialog have bitmap background. So I want its child dialogs to be transparent? How can I do that? (Same as PropertySheet with Wizard Mode and PSH_WATERMAKE flags)
(I have only return TRUE on OnEraseBkgnd(), the child dialogs has been transparent, but static controls on child dialog are still not transparent... )
Thanks for any help!
|
|
|
|
|
Maybe thisLink[^] can help you.
~RaGE();
|
|
|
|
|
|
Thanks for your help. But the background of these static controls (on child dialg) is different from the background of the parent dialog because I has used a bitmap background, not a solid background.
|
|
|
|
|
Hi !
Is there any way to set/remove the virus protection popup window of excel programatically ? Not that I would like to write a virus , but my program needs to work on PC where this option is set and has to keep set at the end of the automation.
Any idea ?
~RaGE();
|
|
|
|
|
|
Thanks, but it does not help much
~RaGE();
|
|
|
|
|
Don't think it's what your after, but if you create a new class (well, a few really) from the excel.exe (Excel 2002) type library using the class wizard, it does generate a 'Protection' class (as well as 200+ others). You might find what your after in there, or one of the other generated classes)
I'm struggling to use the classes generated at the moment, if I come across anything I think might help you I'll post it here.
Dylan
"In meetings, the person who is least competent usually does the most talking. Talking is a direct substitute for competence, at least in the minds of other people. Five minutes after you leave a meeting, you won't remember what anyone said but you will remember who did most of the talking. Withing a day your mind will translate that into a notion that the talker was unusually knowledgeable" - Scott Adams, Dilbert and the way of the weasel
|
|
|
|
|
Hi folks,
I want to know if anybody can help me about adding an overview (small view)
to a new type of file that I create , in windows file explorer.
I want to implement my own overview.
thanks Michael
|
|
|
|
|
I think Michael Dunn's Shell Extensions[^] series might help.
I don't think this is a serious possesion, and the evil most likely comes from your hand. Colin J Davies, The Lounge
|
|
|
|
|
The tutorials of Michael Dunn are to add a small View in the popup menu.
I want to add a small view on the left of the file list if you select web view
mode in the windows file explorer.
|
|
|
|
|
I know. Just pointing the general direction. I think that IExtractImage[^] might be the one.
I don't think this is a serious possesion, and the evil most likely comes from your hand. Colin J Davies, The Lounge
|
|
|
|
|
Ok nice,
But i need shobjidl.hto use that interface do you know where I can find it?
Thanks a lot Michael
|
|
|
|
|
Platform SDK, Core SDK. You'll need to download from MS. Click here[^]
I don't think this is a serious possesion, and the evil most likely comes from your hand. Colin J Davies, The Lounge
|
|
|
|
|
Hi,
I want to catch WM_SETFONT messages in a CEdit control.
Unfortunately the class wizard doesn't offer me this message. Is there any reason? If not, how does my handler look like? hm there is no default handler CEdit::OnSetFont(). please help.
|
|
|
|
|
If you right-click your class and select "Add window message handler" and from there change the type of filtering in the bottom right to "Window", I think you will have access to the option you need.
I can't check as class wizard is bust on my PC at the moment.
Roger Allen
Sonork 100.10016
In case you're worried about what's going to become of the younger generation, it's going to grow up and start worrying about the younger generation. - Roger Allen, but not me!
|
|
|
|
|
thanks, but WM_SETFONT is still *not* listed. I tried all options
|
|
|
|
|
How can I specify the size of a CView when it is created?
<br />
void COragomy_IIView::OnDraw(CDC* pDC)<br />
{<br />
COragomy_IIDoc* pDoc = GetDocument();<br />
ASSERT_VALID(pDoc);<br />
<br />
CRect rect = new CRect( 0, 0, 320, 200 );<br />
pDoc->m_clientRect = rect;<br />
That doesn't seem to work.
...
|
|
|
|
|
How to Connect to ODBC (SQL SERVER 2000)
through ADO
which provider should be used
|
|
|
|
|
Try http://www.perlmonks.com maybe?
|
|
|
|
|
I'm not too clued up still on working with databases but there are several articles on connecting in CP.
http://www.codeproject.com/database/
http://www.codeproject.com/useritems/ConnectionStrings.asp - Connection strings to get connected to each type of database.
Sorry I can't be more help.
|
|
|
|
|
hi everyone,
is there a function in vc++ library that does cstring string replace?
i'm looking for a function that does something similar to the description below.. i don't want to write a function, if there is one existed already..
e.g.
replace(inputstring, str1, str2) <- this function search inputstring for the occurance of str1 and replace every occurance of str1 with str2.
thx in advance.
|
|
|
|
|
I think CString.Replace is what you're looking for. Give it a lookup in MSDN. You would use it like
CString tmp;
tmp = "aksjdksajdlksajdsakljdsaljd";
tmp.Replace("ask","ksa");
for that the tmp is set to a load of garbage, but the replace will change every occurence of "ask" to "ksa" in the string.
|
|
|
|
|
thx for the info, carrie.
|
|
|
|