|
thanks mOnO.
It help me.
I have skype and I will send you code bu it.
|
|
|
|
|
How to check if the check box is checked or not in win 32 App ???
We use to use member of the check box to check if its checked or not checked in MFC
m_CkBox == TRUE
how to do it in win 32 app ????
I want to open the text file in note pad how to do it ???
This works in MFC
ShellExecute(NULL, "open", FileName ,NULL, NULL, SW_SHOWNORMAL);
How to do it in Win 32 API ??? I am not able to use ShellExecute in win 32 App
Thanking you,
Suresh HC
|
|
|
|
|
Suresh H wrote: How to check if the check box is checked or not in win 32 App ???
We use to use member of the check box to check if its checked or not checked in MFC
m_CkBox == TRUE
how to do it in win 32 app ????
BM_GETCHECK.
Suresh H wrote: ShellExecute(NULL, "open", FileName ,NULL, NULL, SW_SHOWNORMAL);
Suresh H wrote: How to do it in Win 32 API ??? I am not able to use ShellExecute in win 32 App
See what GetLastError returns. See the documentation for further details.
|
|
|
|
|
Thanks Thomas for the response & for the Solution.
Its working now I just did
if (::SendMessage(hwndCheckBox,BM_GETCHECK,0,0)==BST_CHECKED)
to check the status.
But still for this I am getting error
ShellExecute(NULL, "open", FileName ,NULL, NULL, SW_SHOWNORMAL);
Error:-
: error C2065: 'ShellExecute' : undeclared identifier
Error executing cl.exe.
|
|
|
|
|
Suresh H wrote: But still for this I am getting error
ShellExecute(NULL, "open", FileName ,NULL, NULL, SW_SHOWNORMAL);
Error:-
: error C2065: 'ShellExecute' : undeclared identifier
Error executing cl.exe.
Header: Declared in Shellapi.h.
Import Library: Shell32.lib.
|
|
|
|
|
Hi Nibu Thomas ,
Its working now, as u said I include only Shellapi.h its working.
Thank you very much.
|
|
|
|
|
See BM_GETCHECK and BM_GETSTATE
|
|
|
|
|
Thanks White Sky for the response. info is very use full.
But still for this I am getting error for this statement
ShellExecute(NULL, "open", FileName ,NULL, NULL, SW_SHOWNORMAL);
Error:-
: error C2065: 'ShellExecute' : undeclared identifier
Error executing cl.exe.
|
|
|
|
|
I think your problem is sovle with Nibu babu thomas answer,right;)
|
|
|
|
|
yes ........White Sky.....its done ...Thanks for the responce.
|
|
|
|
|
You're welcome
|
|
|
|
|
Hello
All
I am changing font of my dialog box to marathi in my application,but by changing font, some part of dialog box's font is not change.It remains in English.So what may be the reason of this problem.If any body have solution to this please forward me.
Thanks
Atul Mahajan
|
|
|
|
|
|
I am changing Font of Dialog Box
Atul Mahajan
|
|
|
|
|
You change font of dialog ok afterward what problems?
|
|
|
|
|
WhiteSky wrote: ok afterward what problems?
Saturday night Dance
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
ThatsAlok wrote: Saturday night Dance
First Hi,how are you?
I seldom see you on the codeproject maybe you are busy;P
Well we have a problem Saturday night in your country = Thursday night in my country;)
|
|
|
|
|
WhiteSky wrote:
Well we have a problem Saturday night in your country = Thursday night in my country;)
it Wednesday here
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
M. Atul wrote: I am changing Font of Dialog Box
SetFont!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
I think he changed font but it has problem with dialog,maybe
|
|
|
|
|
WhiteSky wrote: think he changed font but it has problem with dialog,maybe
he he he
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Why CString is not present in Hierarchial chart?
How is it different from CStringT?
|
|
|
|
|
Hi
MaHeSG
CString is not in Hirarchy char because it is not derived in any other class.It is the base class. It describes to the right side of Hirarchy chart seperatly.
Thanks
Atul Mahajan
|
|
|
|
|
I am sorry. I failed to mention the MFC version.
I am talking about MFC 7.0.
CStringT is mentioned and not CString.
|
|
|
|
|
CString actually is CStringT.
you can imagine it to be defined like this :
#ifdef _UNICODE
#define CStringT CStringW
#else
#define CStringT CString
#endif
-- modified at 2:26 Wednesday 21st February, 2007
|
|
|
|