|
As Ravi suggested in your other post, use WM_SETFONT.
Jeremy L. Falcon
"You do not know the power of the dumb side."
<nobr>
Homepage : Sonork = 100.16311 Maybe my mangling might misguide malicious miscreants momentarily?
|
|
|
|
|
I can't seem to make any mod that are visable at run time.
ex. I move a button, compile, and it is still at the same position.
Any ideas?
|
|
|
|
|
I presume your actually building the app and not just compiling it and running the exe from the dir?
"Isn't that the "write once, debug everwhere" language?" Tom Archer on Java...
|
|
|
|
|
Yes I have been re-building everything.
I just switched configurations and it seems to work now.
Thanks for tripping my memory.
|
|
|
|
|
jimNLX wrote:
Yes I have been re-building everything.
I just switched configurations and it seems to work now.
If it happens again just clean it and it gets rid of temporary files so it will completely rebuild it all.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
01001001 00100000 01010000 01100001 01100100 00100000 01001101 01111001 00100000 01010000 01101111 01110011 01110100 00100000 01000011 01101111 01110101 01101110 01110100
|
|
|
|
|
Matt Newman wrote:
If it happens again just clean it and it gets rid of temporary files so it will completely rebuild it all.
There's also a rebuild all button (VC4 [I think],VC5,VC6), but it's not on your toolbar by default. I'm lazy and it caters to that.
Jeremy L. Falcon
"You do not know the power of the dumb side."
<nobr>
Homepage : Sonork = 100.16311 Maybe my mangling might misguide malicious miscreants momentarily?
|
|
|
|
|
I suggested Clean so you would be sure it is deleting all of the temp files.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
01001001 00100000 01010000 01100001 01100100 00100000 01001101 01111001 00100000 01010000 01101111 01110011 01110100 00100000 01000011 01101111 01110101 01101110 01110100
|
|
|
|
|
hello,
how to use GetItem(...).
see,in msdn,
tv_item leads to tv_dispinfo(or something)
this leads to a message where NMHDR is passed as one of the params but again one of the structures itself has a NMHDR type variable.
I am confused.Its circular.
help me please.
|
|
|
|
|
rebecca romji wrote:
this leads to a message where NMHDR is passed as one of the params but again one of the structures itself has a NMHDR type variable.
The newer common controls use WM_NOTIFY as opposed to WM_COMMAND for notifications. Notifications that use WM_NOTIFY require NMHDR structures to pass the notification information (think Notification Message HeaDeR). Notification messages that need to pass more information than the NMHDR structure can support pass structures that basically derive from (or begin with) NMHDR . That way, a common NMDHR is always available to the function that handles the message.
For example, the TVN_BEGINDRAG notification message is sent using WM_NOTIFY . That being the case, a NMHDR structure is required to be passed. But since the NMHDR structure does not support the required information of the notification message, a NMTREEVIEW structure is sent instead, which contains an embedded NMHDR structure as demonstrated here:
struct NMTREEVIEW<br />
{<br />
NMHDR hdr;
UINT action; <br />
TVITEM itemOld; <br />
TVITEM itemNew; <br />
POINT ptDrag; <br />
}
I hope that answered your question, instead of confusing you further!
Peace!
-=- James.
"Fat people are hard to kidnap."
(Try Check Favorites Sometime!)
|
|
|
|
|
Hi everyone,
I'm trying to distribute MDAC 2.5 with my application using Installer 2.0.
When the setup application is executed I want MDAC to be installed at the same time so my database app can run properly. I believe Installer 1.1 used to have a merge module that dealt with MDAC, but I can't find this in Installer 2.0.
Does anyone can any instructions or a reference for the best way to
distribute MDAC using Installer 2.0?
Thanks for your time,
Paul.
|
|
|
|
|
hey,
yah,that's true.I spent 750 rupees,300 above regular books to buy this but it just doesn't have advanced topice like messages and structures and all the kind of stuff Dunn and Chris do.I have james.l.conger api bible ,but its for win 3.1 but still way better than petzold.
I cannot find a newer version of conger.
Which is a really good book for advanced programmers ?
help me.
|
|
|
|
|
|
Windows NT/2000 Native API Reference
by Gary Nebbett
|
|
|
|
|
Anybody know how I can get SHBrowseForFolder to stop showing FTP sites? I am using CSIDL_NETWORK as the root path.
Tim Smith
I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
|
|
|
|
|
If it is showing sites that the user specifcally added as a "Network Place" (which can be a FTP site), it sounds like the function is working correctly (as designed)...?
Although I have never tried to filter the sites that SHBFF would display (because that might confuse the user as that would not be the expected/default behavior), I would be suprised if there was an easy way to do it.
Peace!
-=- James.
"Fat people are hard to kidnap."
(Try Check Favorites Sometime!)
|
|
|
|
|
Well, it doesn't consider those FTP sites to be valid as nodes (the OK button doesn't un-grey). It also allows you to browse the directory structure of the ftp sites.
It just seems strange.
Tim Smith
I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
|
|
|
|
|
That might have to do with the flags you have specified, for example BIF_RETURNONLYFSDIRS might cause that to happen.
Either way: I never suggested that MS' way of doing things (conventions) ever made sense!
Peace!
-=- James.
"Fat people are hard to kidnap."
(Try Check Favorites Sometime!)
|
|
|
|
|
Hi there,
I wrote a simple project by MFC exe dialog basad ...
In fact, I wrote a simple gdi game in only a dialog !
Now, i want to know, If i make a .DLL from my game by MFC DLL, How could i run it from other language like Delphi ?
I just can use LoadLibrary !
Please help me !
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
You cannot write a MFC extension DLL and run it from other languages, e.g., VB, Java, MFC extension DLL's can only be used by MFC applications. If you need to build a language dependent component, you need to do so using COM.
|
|
|
|
|
Hello, thx for reply !
For adding COM to project, i just need to add COM strcuture to my program ?
Or something else ?
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
COM is not s struct or class, it's a technique that introduced language independency on creating object models, if you do not have any background on using COM(or ActiveX), then I guess you need to spend a little time to actually learn it, COM is not such a simple thing that can be talked and mastered within this post.
There are quite some COM related articles in Code Project, just go to home page, find the "General" category on left bar and click on "COM/DCOM/COM+" link you'll get what you want. Good luck.
|
|
|
|
|
You will need to use COM
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
01001001 00100000 01010000 01100001 01100100 00100000 01001101 01111001 00100000 01010000 01101111 01110011 01110100 00100000 01000011 01101111 01110101 01101110 01110100
|
|
|
|
|
Hello, thx for reply !
For adding COM to project, i just need to add COM strcuture to my program ?
Or something else ?
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
I don't really know that much about COM, other than it is language independent. I think it works like a DLL. I am pretty sure DirectX is in COM so it would be about the same way of using it.
- Matt Newman / Windows XP Activist
-Sonork ID: 100.11179
01001001 00100000 01010000 01100001 01100100 00100000 01001101 01111001 00100000 01010000 01101111 01110011 01110100 00100000 01000011 01101111 01110101 01101110 01110100
|
|
|
|
|
Hello,
Can anybody tell me whereabouts vc++ version 6 stores the directories that are entered under Tools, Options, Directories?
Everytime I switch computer or add a new profile I have to add these in manually again, and I'd like to just copy a file or create them programmatically.
Thanks,
John
|
|
|
|