|
I would like to know if someone knows (of course someone knows but...) how to place all types of fonts on a combo box. The language is Visual C++.
I can add those combo boxes but still don't know how to make them have the font types or in the second combo box the size of the text.
My project objective is to do a mini-word
|
|
|
|
|
Chris Losinger has a font combo box class on CP. Search for it
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
How do I search for that???? I'm a little rookie on this ... btw, what is CP? (go easy on me!!!)
|
|
|
|
|
Never mind... CP = Code Project (right?)
I've got it thanks
|
|
|
|
|
See this link :-
http://www.codeproject.com/combobox/FontCombo.asp
Nish
Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.
|
|
|
|
|
|
Geezze.... you guys are fast awsering this :p while i've been loking for it 2 posts ;D Great
Thanks for the help anyway
|
|
|
|
|
Btw, Chris Losinger has something about font size too??? If not, who does?
Thanks for all the help provided until now
|
|
|
|
|
We try our best
Michael
|
|
|
|
|
CP = CodeProject.
Type the subject into the search window at the top of any CP page.
Good luck,
Bill
|
|
|
|
|
CP = CodeProject.
Type the subject into the search window at the top of any CP page.;)
Good luck,
Bill
|
|
|
|
|
I've been trying to understand the code made by Chris (i guess its name is this one) but i'm very amateur... if someone could help a little more in this subject i would be very gratefull...
Hopping for good news and thanks for all 'till now
Stay cool :p
Phoenix
|
|
|
|
|
Hi!
My app crashes in this dll after I push my Exit button. Why? Blocked memory? ... I do nothing in the OnCancel function, just return to App class. And my app works right, no crashes.
|
|
|
|
|
Check the destructors of your objects. Also, when it crashes, click "Retry" to debug it, and get the call stack. You are likely to find where it crashes (even if it crashes in msvcrt, it is likely one of your objects that is faulty).
Michel
It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
- TreeBeard
|
|
|
|
|
Hi!
I'm working with a multimedia app and I used PlaySound() function several times. It works fine, but when I close Windows 98, even 1 hour after testing my app, I get a MMTask.exe error in a white message dialog. Can anyone tell me why?
|
|
|
|
|
Hi,
Guys
I want that some of my folders are kept secured..
I mean that users are not able to open those
folders or Delete them
System : Win95 and Win98
Please help
Sameer
|
|
|
|
|
Hi,
In my application, I have to get the ID or the name of the process
that created a named mutex. Does anybody know how to proceed ?
I use this code :
HANDLE MutexHandle = ::OpenMutex(MUTEX_ALL_ACCESS, FALSE, MutexName);
if (MutexHandle)
{
// mutex exists
::CloseHandle(MutexHandle);
// how to get the process ID ?
}
else
{
// mutex doesn't exist
}
Thanks in advance,
Robin.
|
|
|
|
|
Hi,
this code will resolve your problem.
HANDLE m_hMutex = NULL;
// Create the mutex
m_hMutex = CreateMutex( NULL, FALSE, "Process.exe" );
// Check for errors
if ( GetLastError() == ERROR_ALREADY_EXISTS )
{
// Reset our mutext handle (just in case)
m_hMutex = NULL;
MessageBox(NULL,"Can't run the application twice!!!.","Task manager:",MB_OK);
exit(0);
}
Aizik Yair
Software Engineer
|
|
|
|
|
Why do you write "HBRUSH(COLOR_WINDOW+1)" instead of just "HBRUSH(COLOR_WINDOW)" to aquire a handle to the system brush that you want?
Best regards
biff
|
|
|
|
|
Because of this definition:
#define COLOR_SCROLLBAR 0
Windows needs a way to differentiate between COLOR_SCROLLBAR and NULL.
NULL means no background brush, and 1 or COLOR_SCROLLBAR + 1 means COLOR_SCROLLBAR.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
|
Does anybody have any info about implementation of CD/DVD emulation ?
|
|
|
|
|
iam working in the same project
so please if you got any usefull info or links
please send me
thank you
|
|
|
|
|
I need help regarding writing a dll
i need to call that dll in a vb 6.0 program .
what step i need to take in order to write that dll
i need to export class from that dll. i didnt use any support of MFC
Work Hard and Test your Luck
|
|
|
|
|
You could start by looking at MSDN. There is a lot of good tutorial style docs on what you're trying to do.
Also, if you use VC6 (not tried in 7), create a Win32 DLL project, somewhere theres an option to have the project "export some symbols". This default project it sets up exports a class in it's sample code.
jon
Signature space for rent. Apply Within.
|
|
|
|