|
Hi,
I read the Codeproject's DeskBand article but not found in detail..can you provide me some links that provde indepth article with examples of Band in IE4.x or later.
|
|
|
|
|
|
Hi,
Thanks for the reply.
Do Direct Hit or Yahoo toolbar are based on Band if not how they do this? Do you have any example...or may be link?
Thanks a lot.
|
|
|
|
|
Sarose,
I don't know what Direct Hit is? I have never seen or heard of it before. For the Yahoo Toolbar, I believe it is is just an ActiveX control which is attaching a toolbar to the Application. It does not support IDeskBand, so it must be attaching a toolbar to the window via some other means.
-Erik
|
|
|
|
|
I don't know either of them !
But maybe they are BHO's (Browser Helper Objects)
|
|
|
|
|
Hello!
Given a LOGFONT face name (i.e.; 'Times New Roman'), I need a way to programmatically determine its equivalent system file name (in this case, it is 'times.ttf').
Any help is greatly appreciated
Cheers,
-Mike
|
|
|
|
|
It's driving me insane! I'm about 20,000 lines of code into a huge project and I'm getting really tired of deleting all those "TODO: Add you blah blah blah here" everytime I handle a message through classwizard. I looked everywhere in VS, I checked MSDN, no mention of it. It's probably really obvious or not doable at all.
I know there is an option to turn it off at the start, if only...<grin>
|
|
|
|
|
Tools->Options-> uncheck the code comments, in the bottom section.
|
|
|
|
|
That wont work! That only turns off the code comments when your using intellisence (the drop downlist).
The way to get rid of the stupid comments is a simple, but boring hack:
1. Find MFCCLWZ.DLL in the MSDev98 sub directory.
2. Open with VisualC as 'Resource'
3. Edit "STRINGARRAY" and "SRCDATA" to your liking
BTW: Back up the origional, I've never tried this but it should do the trick!
Hope this helps...
|
|
|
|
|
Aren't the code comments an option when starting a project? If so, there must be a setting in one of the project files that you could fix...
|
|
|
|
|
Hi,
I have to draw bitmaps who represent cross section of steel beams.
I can to that with the resource editor of Visual C++.
But I want to know wich tool is available to add cotation mark with arrow to my bitmaps.
I can do that with the resource editor but it is manual.
I know I can use AutoCad, but it is too expensive.
Do you have atool to suggest ?
Tahks
|
|
|
|
|
My app generates HTML reports, and displays them in IE5. What I now need to do is to display the report in IE5, and THEN print it / press print in IE5.
Does anyone know how please???
|
|
|
|
|
You need to use the IWebBrowser2 interface.
Call the method ExecWB with these parameters:
ExecWB( OLECMDID_PRINT, OLECMDEXECOPT_DODEFAULT, NULL, NULL );
|
|
|
|
|
Great! Thanks I'll try that....
|
|
|
|
|
Hi folks,
I'm hooking around CHTMLView class in an app to display some CHM/ITS files, but can't change the IE default context menu or even disable it at all. I'd like to show another menu instead.
2nd. How is it possible to Navigate to the "Home" html page in a CHM file. This works fine with the "....::/" syntax if there is a default.htm file in the compiled file, but not when the def page has another file name. Any hints very appreciated.
|
|
|
|
|
As far as pt1 is concerned, I believe that CHtmlView defines a control site for the underlying browser control.
What you therefore need to do is override this with a custom control site containing your own context menu...
Check out knowledge base article Q236312, 'HOWTO: Disable the Default Pop-up Menu for CHtmlView' for a detailed explanation
|
|
|
|
|
Does anyboby know how to get the ID of a starting application ?
|
|
|
|
|
Hi
look at EnumProcesses and EnumProcessModules
|
|
|
|
|
Does anyone know how to save the state of the CReBarCtrl and restore the state of the bands? I've tried to get the band count and then call the CReBarCtrl::GetBandInfo( ... ) but the REBARBANDINFO structure that is returned is no help. Anyone have any ideas?
|
|
|
|
|
Hello all,
I have had a devil of a time trying to create a toolbar control that is similar to the one's used by IE4 / IE5. Primarily, nothing I do seems to get "hot-tracking" of the menu / toolbar buttons to work.
I have read the articles in MSDN about how to implement an "IE style menu bar". However, the documents do not give me enough sample code to build upon.
If there is anyone who has some sample VC++ code for implementing an ATL toolbar control that simulates the IE menubar, or knows of a site or location that I can find some, I would greatly appreciate your help!!
Many thanks in advance!
Vivek Chawla
|
|
|
|
|
|
I have 2 questions about console apps. I have an MFC console app that opens a listen socket. It does this right out of Main().
1st. How do I keep main from returning, thus allowing the socket to keep listening?
2nd. How do I prevent the console window from opening up when run, like an NT service. I'm looking for similar results in Win 9x.
Thanks.
|
|
|
|
|
i'm having a little problem with dates in sql
when i try to get a open a recordset in mfc (ado)
here is my sql statement:
SELECT * FROM error WHERE date_open < 22/04/00 AND date_close <> null AND date_open - 22/04/00 <= -7
date_close and date_open are both date fields and i'm trying to get some data which is 7 days old and not yet been closed.
thanks,
|
|
|
|
|
Enclose your date literals with "#"'s.
eg: WHERE date_open < #22/04/00#
|
|
|
|
|
In my application, I have a dialog with several propertypage with text title on them. But, now I want to add bitmap to only one of the properpage. How should I do it?
Sample code will be highly appreciated.
Many thanks in advance.
|
|
|
|