|
zakkas2483 wrote: ...to create hFont we need CreateFont() function but it is only available in MFC not in win32. so what is alternative of this.
See here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
I m getting Error Message "CreateFont: identifier not found".
|
|
|
|
|
Sounds like you're not including the right files. Check the dependencies for that function.
|
|
|
|
|
I have derived a subclass from CFileDialog. I would like to check that certain conditions are correct before the dialog is closed. How can I intercept the message to close the dialog? My derived dialog class includes an OnDestroy(), but the dialog is already closed before it is reached.
|
|
|
|
|
No need to derive from CFileDialog , just supply a hook procedure and set the lpfnHook member. See here for more.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
hi, i developed c program in windows. how do i make them work in linux environment?? tks..
|
|
|
|
|
Compile it in [insert OS name here] and get the binary for that OS built.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
In addition to what Rajesh said: this is only possible if you are only using OS independant features (so, no UI for instance). If you are using the Win32 API or the MFC, forget about it (although there are libraries which can be used in order to develop cross-platform UIs).
|
|
|
|
|
okay.. i just need to do is write a program and compile it without UI.. but because im running on Windows, how do I ensure it run on linux?
|
|
|
|
|
If the program only uses things from standard C++ (and the STL), then follow what Rajesh told you: you need to recompile it for linux (with a compiler for Linux). So you will end up with two binaries: one for windows and one for Linux.
|
|
|
|
|
Hi all,
i m setting the property of Horizontal Scrollbar of Listbox is true.but its not displayed.
while vertical scrollbar displayed perfectly.
please tell me how can i display the horizontal scrollbar in Listbox.
thanks in advance.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
|
Thanks
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
"_$h@nky_" wrote: please tell me how can i display the horizontal scrollbar in Listbox.
By correctly setting the horizontal extent.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
how to open a particular page in html help file.
thanks
|
|
|
|
|
Roay wrote: ...in html help file.
Is that an HTML or CHM file? Have you tried something like:
HelpFile.chm::topic.html
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
|
Hi All,
I've another question here.
How can I find all the users(user accounts) in a system? I'm messup with what CreateProcessAsUser is doing...
I appreciate your help all the time...
CodingLover
|
|
|
|
|
|
|
CodingLover wrote: How can I find all the users(user accounts) in a system?
How about NetUserEnum() , or NetGroupGetUsers() (for a global group)?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi,
How can I add/remove a menu( with 2 sub item) to existing menu.
|
|
|
|
|
CMenu::AppendMenu, InsertMenu, RemoveMenu
|
|
|
|
|
another way is to have 2 menus in the resoures and work with LoadMenu() and SetMenu().
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
I have a multilingual application. When I am loading strings from DLLs, their font size is very small. How can I increase the font size?
Can anyone tell me please ?
Thank you.
|
|
|
|