|
Have a look on this site, I'm sure there's a class that already implements a fast multi select tree ctrl.
Normski. - Professional Windows Programmer
|
|
|
|
|
i have a problem when i'm capturing the whole Client area of a CVIEW... When I'm capturing the client area of CView in a bitmap, the borders and scrollbars are captured too....??
|
|
|
|
|
Hi, I have to used _outp() function to write a byte to an port
address. but program gives error (below) when program runs.
"unknown software exception (0xc0000096) özel durum, 0x00401097
konumundaki uygulamada oluştu."
what can be the problem?
karanba
|
|
|
|
|
Which port are you writing to? Also, could you please translate the error message to English?
If you're in NT/2000/XP, _outp will almost for sure fail, because programs in these OSs are prevented to access HW directly in most cases. In 95/98/ME, you have fewer restrictions of this kind, and some _outp IO is possible.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
what is the best docking toolbar thing available for free? the only articles here on CodeProject and on CodeGuru are inefficient and the toolbars end up looking pretty bad... anyone have any other good ideas? (preferably free)
- Roman -
|
|
|
|
|
What do you want it to do ? MFC has docking toolbars.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
"I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?!
- Jon Hulatt, 22/3/2002
|
|
|
|
|
basically, the docking toolbars MFC provides don't look anything like VC++6's own docking toolbars... they're not 3D and only have 1 gripper line
the problem with the ones on CodeProject is that they all have several bugs and they just don't look right in certain cases.
BCGSoft and CodeJock and Dundas all cost way too much (too many other classes in the packages they offer)
anyway, yea im being a pain in the ass but i can't get my own toolbars (extensions of CToolBar) to look right either
- Roman -
|
|
|
|
|
You would do better to copy the CToolbar code from the MFC source and then rename it, and work from there. Then you've got a head start, and you're doing it the right way, deriving from CControlBar to make a new toolbar, instead of starting with CToolbar and trying to bend it to your will.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
"I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?!
- Jon Hulatt, 22/3/2002
|
|
|
|
|
|
Sorry, I'm saying deriving from CControlBar ( from memory, if not, whatever CToolbar derives from ), and that this is a LOT of work, but you can get a head start by starting with the CToolbar source, and deleting/changing it to suit yourself.
It's still probably a fair size task, if you undertake it, you would probably be somebodies hero if you went on to post it here.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
"I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?!
- Jon Hulatt, 22/3/2002
|
|
|
|
|
I want a multi select tree control that fast ,More easy More
good!
ZHANGYIFEI
|
|
|
|
|
You can download it from http://www.techsoft.no/bendik/TreeCtrlEx.zip.
I'm a pleased user.
Geert.
|
|
|
|
|
HI ALL.
under winNT(2000/xp) [if it's meter]
How can I overwrite or add painting to the system windows.
[normal explorer window (exp. My computer - registered class "CabinetWClass" )].
For Exmple :
I want to add a line from corner to corner.
Any help will be very much appreciated.
Thanks
|
|
|
|
|
Subclass or hooks I would think!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
For example:
Move "Hello world" from CRect(0,0,100,100) to CRect( 100,100,200,200) smoothly in a view.
I don't like to earse all area of view and then redraw it, because it is too slow.
I'm amumu, and you?
|
|
|
|
|
Check out ScrollWindowEx() . It should do what you need.
Alternately, check out my article
You'r apostrophe bug's me.
|
|
|
|
|
InvalidateRect() is your clown
- Roman -
|
|
|
|
|
Hi,
I am creating an app that integrates the CHtmlView. On certain occasions, I would like to load a HTML file (or images) from a resource dll, so that all the files are kept together, cannot be deleted or edited etc.
Has anyone succeeded in creating a DLL with resources in it used by Internet Explorer and the res:// protocol?
If so, could it be explained how, or does anyone have *decent* links to:
1. how to create a resource dll
2. how to make resources accessible from it to IE and the res:// protocol
Thanks in advance,
Simon
PS: I have seen the (very) few MSDN articles, that have left me suitably high and dry.
|
|
|
|
|
Do you mean res://yourdll.dll/yourpage.html ?
- Matt Newman / Anti-Linux Activist
-Sonork ID: 100.11179:BestSnowman
†
|
|
|
|
|
Yup, that's exactly what I am after.
I created a Win32 Dynamic-Link Library project (empty) and ripped all the code link settings out, then added a resource file. To that I added a HTML resource, with the resource identifier IDR_HOME.
This resulted in the following line being in my resource file when viewed as text: IDR_HOME HTML DISCARDABLE "home.htm"
Also, a home.htm file gets created in my project folder, so I put in some source and then build it.
Then typing in the actual path (given here for completeness):
res://C:\Program Files\Microsoft Visual Studio\VC98\MyProjects\HtmlRes\reslocal\Debug\reslocal.dll/home.htm
simply results in the 'Page Cannot be Displayed' IE error from it's own shdocl.dll thingy.
Anything obvious I am doing wrong here?
Thanks,
Simon
|
|
|
|
|
Make the resource ID "HOME.HTM" with quotes, then red://reslocal.dll/home.htm will work.
- Matt Newman / Anti-Linux Activist
-Sonork ID: 100.11179:BestSnowman
†
|
|
|
|
|
Absolutely stunning! Cheers so much Matt.
I wasn't far away (well I was), I had it working with the resource identifier bit:
blah-blah/%23101
The quotes has just made it all look so much more friendly when the source if viewed etc.
Thanks again,
Simon
|
|
|
|
|
No problem. It was a simple problem with an answer someone would never think of
- Matt Newman / Anti-Linux Activist
-Sonork ID: 100.11179:BestSnowman
†
|
|
|
|
|
Create an HTML resource in your module (can be an EXE or DLL) with a string ID (not an integer ID) and reference it like:
res://C:\path\to\your\file.dll/YOURPAGEID.html
--Mike--
Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines!
My really out-of-date homepage
Big fan of Alyson Hannigan and Jamie Salé.
|
|
|
|
|
Thanks for the pointer Michael.
It seems obvious know that a string id is one with " around it, but that don't look right in the IDE, so I was having trouble with that in the end. All working now though.
Thanks,
Simon
|
|
|
|