|
Straight from MSDN:
If you implement a callback function, you will receive a handle to the dialog box. One use of this window handle is to modify the layout or contents of the dialog box. Because it is not resizable, modifying the old-style dialog box is relatively straightforward. Modifying the new-style dialog box is much more difficult, and not recommended. Not only does it have a different size and layout than the old style, but its dimensions and the positions of its controls change every time it is resized by the user.
Jason Henderson start page ; articles
henderson is coming
henderson is an opponent's worst nightmare
* googlism *
|
|
|
|
|
Hi
can anybody guide me to load Toolbar dependent bitmaps in my popup menu
which will appear on RButtonClick in a formview.will be so thankful if you give me
the code.
thanks and regards
ThomasKennedy
ThomasKennedyBose
|
|
|
|
|
Hi !
Somebody knows about a software (or an option in VC++) which would only display the code contained in precompiler instructions ?
I mean:
#ifdef hello
int i=9;
#else
int j=10;
#endif
would only be displayed as
int i=9; if hello is defined. Otherwise, it would dispaly
int j=9; of course.
Reason is, in my new job, i have to do with realtime applications, and the code is full of precompiler instructions, so it is quite unreadable .
Thankxx
RaGE
|
|
|
|
|
See /E, /P and /EP compiler switches. This is not exactly what you need, but can help. You can also use Go to Definition function to see what precompiler value is defined.
|
|
|
|
|
How can I see if my app delete the memory?
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
When running a debug build using "Go"(F5), the debug output window shows memory leaks after the termination of the app.
Commercial products are considerably more sophisticated, but tend to be expensive and complicated.
|
|
|
|
|
In debug mode you can see the memory leaks only if you have created your application using the wizard and MFC.
Not everybody uses MFC and/or the built-in wizards.
What you have to do is either something like:
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
Which is done automatically in MFC and WIZARDS.
Or you could overide the new/delete (and their array versions) and provide your own memory leak checks.
|
|
|
|
|
ihaml wrote:
Not everybody uses MFC and/or the built-in wizards
But everybody who has to ask such a basic question definitly should.
Please get me right:
I am not attacking the question on memory leak detection, but the implication in the answer that beginners should not be using the Wizard. We can discuss about MFC, but the Wizard is definitely a good thing to get your Project going: Setting up the whole mess is very error prone.
|
|
|
|
|
ihaml wrote:
Not everybody uses MFC
And I'm one of them!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
jhwurmbach wrote:
Commercial products are considerably more sophisticated, but tend to be expensive and complicated.
We had a long discussion about that on the forum in June 2002, and it came out that one of the best software with a free demoversion was Glowcode. You may take a look at it.
++
RaGE
|
|
|
|
|
Use something like Boundschecker.
Or write a wrapper that reference counts memory allocation and memory freeing.
Michael
Life’s not a song.
Life isn’t bliss.
Life is just this.
It’s living. -- Buffy the Vampire Slayer: Once more, with feeling
|
|
|
|
|
Michael P Butler wrote:
Use something like Boundschecker.
I will try that and Glowcount!
Michael P Butler wrote:
Or write a wrapper that reference counts memory allocation and memory freeing
That was a pretty good idea!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Hi,
Is there anyway to hide the thumb in the slider control?
Regards
Neha
|
|
|
|
|
I want to write a Internet Logger that logs all visited websites during a dail up session. I have 2 questions:
1. How do i know the URLs of the websites being visited
2. How do I hide my program from the ctrl+alt+del list?
(I am allowed to show an icon in the system tray, but i have to prevent the user from terminationg the app- I already know how to prevent the user from exiting the application in the normal way- but what if he/she uses ctrl+alt+del?)
Thank u.
Satya Kiran.
|
|
|
|
|
LOL - I wonder what this is for......
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
|
|
|
|
|
You could always takes screenshots at regular intervals, pass them back to your spy server, and then use ocr to capture the urls lol
Check out Aephid Photokeeper, the powerful digital
photo album solution at www.aephid.com.
|
|
|
|
|
|
SatyaKiran wrote:
1. How do i know the URLs of the websites being visited
A browser helper object would do that for you. Or you could install a proxy server.
Michael
Life’s not a song.
Life isn’t bliss.
Life is just this.
It’s living. -- Buffy the Vampire Slayer: Once more, with feeling
|
|
|
|
|
Hi guys,
I found a useful .Net Training School and thought of sharing it with all of you.They have lots of different courses in Visual C#,Visual C++.Net
Its worth taking a look. It looks like its a new institute in the Bay area.
website address is www.uicsa.com.
Thanks
|
|
|
|
|
Hi guys,
I'm sure there are some java gurus out there who also know c++. Anyone know the answer to the following:
In C++, I declare functions such as:
void PassInAConstantReference(const Object& o);
void PassInAModifiableReference(Object& o);
void PassInACopy(Object o);
In java, so far I only see:
void PassInAModifiableReference(Object o);
Any equivalent of the above C++ functions in Java?
Cheers,
swine
Check out Aephid Photokeeper, the powerful digital
photo album solution at www.aephid.com.
|
|
|
|
|
In Java there are no pointers, and no const, and I believe everything is passed by reference.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
|
|
|
|
|
So you can only do it non-const and by reference? That sux...
swine
Check out Aephid Photokeeper, the powerful digital
photo album solution at www.aephid.com.
|
|
|
|
|
Yes, yes it does. I've been whining about the lack of const in C# for months, and the common response is that Java is the same, that's why I know. I've never coded in Java, so someone may correct me, but I'm pretty sure, and I'm *very* sure that it sucks.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
|
|
|
|
|
lol
Check out Aephid Photokeeper, the powerful digital
photo album solution at www.aephid.com.
|
|
|
|
|
Bunch of criminals, Java does have const, namely final!
LPCTSTR Dutch = TEXT("Double Dutch ");
|
|
|
|