|
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.
|
|
|
|
|
Does it matter where the string is loaded from? Isn't the size dependent on the characteristics of the font face used to display text? Have a look at CFont::CreateFont()[^] (mfc usage assumed).
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Thanks for the reply, Default font size is too small and if i am changing it with CreateFont() then fonts are getting more worst in size n shape.
what should I do ? Please help.
|
|
|
|
|
Purish Dwivedi wrote: if i am changing it with CreateFont() then fonts are getting more worst in size n shape.
Your code?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Code is there, Sir, though I already said to you, the font is very very small...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Oh well, I should have known.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Hi All,
On an application I only need to have a message box. Basically I want to call an exe from another class, and that exe application pops a message box depends on a result.
I want to know how to workout that message box in C++.
Thanks a lot.
I appreciate your help all the time...
CodingLover
modified on Monday, May 4, 2009 6:13 AM
|
|
|
|
|
Can you use CreateProcess to launch the exe and pass the result that you want to display as a command line argument.
See here[^]
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
File -> New -> Projects->Win32 Console Application
-> A simple application
now change the generated code as follows
#include "stdafx.h"
#include <Windows.h>
int main(int argc, char* argv[])
{
::MessageBox(NULL,"Hello World!","Msgbox",MB_OK);
return 0;
}
|
|
|
|
|
Ya, I tired same thing. But there console also popup. I just want to popup the message box only.
Thanks for the replay
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Okay, I figured it out. Thanks for all the comments.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
The real question is, why will you ever need such a thing? I am assuming that there's some kind of a lengthy operation (in place of that message box) and that blocks your UI. You would be better off using a thread in that case. Do I need to mention that a process is way much more expensive than a thread from the view of the OS?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Hi all,
i have an sdi type application,and split it in 2 columns,treeview used for one column and formview for another.
form view have an ListBox but its size is so small becoz of to much controls on form.
in List Box i m continously inserting some values with the use of workerthread.
becoz of its small size,hectic to scroll chk all inserted view,so i want to use full screen concept for this list box.
so i m creating a dialog box with a Listbox,now i want all values those are inserted in small list box,are same display in dialog box.
please tell me solution.
or if any other better solution than suggest me.
thanks in advance.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
A simple method, create a member variable in App class (an array or list) use this variable as if global to all views.
|
|
|
|
|
thanks.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|