|
Thanks for the quick help.
Unfortunately it does not work. I am using VC 7 and it is not possible to drag/drop a dialog between the two resources. The mouse pointer changes its state to "forbidden".
|
|
|
|
|
right click on the dialog and open binary data....copy the entire binary data......now in ur new project add a new dialog....and replace the binary data with the data copied......may not be the best way to do it but works fine with me
rIsHaBh
|
|
|
|
|
Yes, that works really well and fine for me as well.
Thanks a lot.
|
|
|
|
|
And there I was thinking the VC6 one could only be found by accident...
|
|
|
|
|
Hi,
what you need is to export the dialog onto an MFC extention dll then load the resouce dynamically......
it is the same as in supporting multi - language for your application....
Search this in the MSDN : HOWTO: Create Localized Resource DLLs for MFC Application.....
after reading this tutorial, you will get the idea....
hope this helps ya
Yaron
Ask not what your application can do for you,
Ask what you can do for your application
|
|
|
|
|
Hi all,
I am quite aware of the working of the thread synchronisation objects like,
event,
mutex,
Critical Section,
semaphore...etc...
I know each of it's working individually, but can anybody let me know,
1)what is the advantage ,disadvantage over other..
2)when each of the one is best to use..
I had check out various sources to find this info...But I am not convinced nor it explains me only the concepts...
Thanks a lot,
Shiva P
|
|
|
|
|
|
mutexes are only visible to the whole machine when you have specified a name, correct me if i'm wrong.
|
|
|
|
|
If you don't name them you can't look them up by name in another process, but you can still use them in another process if the handle is passed there in some other fashion. Have a look at DuplicateHandle().
--
-Blake (com/bcdev/blake)
|
|
|
|
|
|
If the sync is only for the current process then use critical-section since it's faster than mutex.
in Mutex you will always have context switch to kernel mode , whereas in critical section you stay in user mode when there is no contention.
|
|
|
|
|
how can i add tooltips to various controls in my MFC dialog based application?
rIsHaBh
|
|
|
|
|
Type 'using CToolTipCtrl' in MSDN and you will get step by step instructions.
« Superman »
|
|
|
|
|
|
I have read some articles,
knowing some infomation such as
1.Setting the time to 23:59:59 on the 29th or 30th day of a month that has less than 31 days may cause the clock to roll over incorrectly with some chipsets(What is the reason?)
2.y2k problem
and so on
Can you tell me
1.whether there exist some other situations like these problems, and what are they?
2.Should I access to the cmos RTC date or the OS date to test the date's validation?
3.How to chang and update the CMOS RTC time/ System Time
|
|
|
|
|
Hi ,
how can i get the IP adresses and machine names of other computers in my local network ?
I come from china ,so my english is very poor ?
Thank you very much !
|
|
|
|
|
Look for WNetOpenEnum() and WNetEnumResource() .
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
just check the following url
http://www.codeproject.com/internet/ipaddress.asp?target=gethostname
or check out msdn at
Platform SDK: Windows Networking
Enumerating Network Resources
adi
|
|
|
|
|
|
Thanks a lot ,my close foreign friends!
|
|
|
|
|
hello
one simple question.
How to insert one frame window into one SDI project?
"They can because they think they can" - Voltaire
|
|
|
|
|
When I capture screen with PrintScreen then paste it in Paint.exe.........the cursor always disappear......
How can I capture include Cursor?
Is there a code to do this ?
thank
|
|
|
|
|
You know, I have been wondering the same thing for years. I know pressing ALT+Print Screen will only copy an image of the active window. I wonder if there is some other key combination that would do it?
BNEACETP
|
|
|
|
|
The cursor cannot be directly captured along with the screen, mainly due to all sorts of nifty hardware-side optimizations. This is also the reason why some apps that use hardware overlay surfaces (such as video players) cannot be captured (this may not be true for all video cards, however).
Some screen capture programs fake capturing the cursor by compositing an arrow cursor at the cursor location after the root window is grabbed. I suppose a smart capture program could look up what the current cursor scheme is, shadow options, etc., then use that for compositing.
- Mike
|
|
|
|
|
I have a video player appl. It runs in full screen mode on some machines but not on others.Is this a video card problem? I know my doubt is a bit offtrack from the original question raised.But i would be glad if u could throw some more light on this.
Thanx,
|
|
|
|