|
Really,I think why two sames messages(almost) is here and OK!
|
|
|
|
|
sorry ? i didn't understand your post... may you rephrase please ?
|
|
|
|
|
I said maybe these messages are of a member with two names,and did you serious in your previous message.I think we must happy tonight,tomorrow is new year in my country ;)
|
|
|
|
|
WhiteSky wrote: I said maybe these messages are of a member with two names
yes, but abusing of trolls is not well seen here. moreover, not only the guy is trolling, but he's also spamming (same question twice is definitely not needed to get a relevant answer).
WhiteSky wrote: did you serious in your previous message
you meant, was I serious ?
yes.
WhiteSky wrote: I think we must be happy tonight,tomorrow is new year in my country
few hours in advance, happy new year (but that doesn't change the thread )
|
|
|
|
|
Are you wanting to learn C++, VC++, or MFC?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I am new to vc++.I want to build a simple project.Can anyone help me to this.
plz Give project abstract.
Is Any website for this.
|
|
|
|
|
Please refer this[^]
Regards,
Paresh.
|
|
|
|
|
|
Beexpert wrote: am new to vc++.I want to build a simple project.Can anyone help me to this.
which book do u refered
|
|
|
|
|
|
C++ doesn't know anything of MFC...
|
|
|
|
|
I guess he wants to learning c++
|
|
|
|
|
WhiteSky wrote: I guess he wants to learning c++
That's a third possibility. The two that he explicitly mentioned were MFC and VC++.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I think usually these are global questions and sender wants general answer (Maybe)
|
|
|
|
|
How to Close the process /.exe started by ShellExecuteEx() function ?
->The SHELLEXECUTEINFO structure contains information used by the ShellExecuteEx function.
->hProcess Member of SHELLEXECUTEINFO structure : Handle to the newly started application. This member is set on return. Any help would be greatly appreciated!
thanks in advance
Cyber G india Pvt ltd.
priyank
|
|
|
|
|
This example should help you,
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
ShExecInfo.hwnd = NULL;
ShExecInfo.lpVerb = NULL;
ShExecInfo.lpFile = ;
ShExecInfo.lpParameters = NULL;
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_MAXIMIZE;
ShExecInfo.hInstApp = NULL;
ShellExecuteEx(&ShExecInfo);
ASSERT(ShExecInfo.hProcess);
CloseHandle(ShExecInfo.hProcess );
|
|
|
|
|
thanks for your help.But Prasad, i want to exit from process also means its Window should Close.My Application is launching other application,all i want is , when i press on Exit Button of my main application, then launched application's Window Should also shut down.
priyank
|
|
|
|
|
pri_skit wrote: when i press on Exit Button of my main application, then launched application's Window Should also shut down.
. That you need to handle in your applicatin.
|
|
|
|
|
Again thanks for your help.
priyank
|
|
|
|
|
pri_skit wrote: Again thanks for your help.
TerminateProcess
|
|
|
|
|
pri_skit wrote: thanks for your help.But Prasad, i want to exit from process also means its Window should Close.My Application is launching other application,all i want is , when i press on Exit Button of my main application, then launched application's Window Should also shut down.
Enumerate processes[ ^] and kill the process before exiting from application .
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
i want to convert float and (/or) double data type into pixel. what would be the code for it.
nill
|
|
|
|
|
Usually a pixel is identified by the triple {X,Y, Color} each of the triple member can usually be represented using an int value.
So, in principle, you cannot directly convert a double into a pixel. What do you really intend to do?
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.
|
|
|
|
|
basically i want to draw x and y cordinates from an access database , i m using double data type, i may have float, but to draw i want to have pixels. so i need that conversion logic.
nill
|
|
|
|
|
So you are having X,Y points as double/float and those values are stored in a DB.
Whts the problem now, typecast the values to 'int' and plot the detail.
But i don't know, hw you get the Color value for the cooridinate as our pal mentioned in the previous post.
Do your Duty and Don't expect the Result
|
|
|
|