want some help [modified]
-
tel me one thing as i am new to vc++ so i face a problem of how can an edit box is disabled from other form which has menu and i want to click on menu that is popup and has one option that is delete when i click on delete it will display next dialog box and then also make some edit control disabled which are on that dialog box plz anybody help me in this regard as i try some but not find success NOTE: plz give in detail as i know only connecting forks in vc++ //////////////////////now look at this/////////////////////// yar why u domnt undestand i want to disable my edit control which is on one form(dailog) and i want to disable it from menu which is on other form is it possible hi -- modified at 10:05 Monday 5th June, 2006
-
tel me one thing as i am new to vc++ so i face a problem of how can an edit box is disabled from other form which has menu and i want to click on menu that is popup and has one option that is delete when i click on delete it will display next dialog box and then also make some edit control disabled which are on that dialog box plz anybody help me in this regard as i try some but not find success NOTE: plz give in detail as i know only connecting forks in vc++ //////////////////////now look at this/////////////////////// yar why u domnt undestand i want to disable my edit control which is on one form(dailog) and i want to disable it from menu which is on other form is it possible hi -- modified at 10:05 Monday 5th June, 2006
for disable control use EnableWindow and whats application type i answer to like question one hours ago if your program is CDialog use like this if main class CMyView use this code in another form CMyView* view = (CMyView* )GetParent(); view->somefunction(); and for set text use SetWindowText_**
**_
whitesky
-
tel me one thing as i am new to vc++ so i face a problem of how can an edit box is disabled from other form which has menu and i want to click on menu that is popup and has one option that is delete when i click on delete it will display next dialog box and then also make some edit control disabled which are on that dialog box plz anybody help me in this regard as i try some but not find success NOTE: plz give in detail as i know only connecting forks in vc++ //////////////////////now look at this/////////////////////// yar why u domnt undestand i want to disable my edit control which is on one form(dailog) and i want to disable it from menu which is on other form is it possible hi -- modified at 10:05 Monday 5th June, 2006
paras_s12 wrote:
so i face a problem of how can an edit box is disabled from other form which has menu and i want to click on menu that is popup and has one option that is delete when i click on delete it will display next dialog box and then also make some edit control disabled which are on that dialog box plz anybody help me in this regard as i try some but not find success
I'm sorry I don't understand your objectives
-
tel me one thing as i am new to vc++ so i face a problem of how can an edit box is disabled from other form which has menu and i want to click on menu that is popup and has one option that is delete when i click on delete it will display next dialog box and then also make some edit control disabled which are on that dialog box plz anybody help me in this regard as i try some but not find success NOTE: plz give in detail as i know only connecting forks in vc++ //////////////////////now look at this/////////////////////// yar why u domnt undestand i want to disable my edit control which is on one form(dailog) and i want to disable it from menu which is on other form is it possible hi -- modified at 10:05 Monday 5th June, 2006
paras_s12 wrote:
i want to disable my edit control...
Use
EnableWindow(FALSE)
.
"The largest fire starts but with the smallest spark." - David Crow
-
tel me one thing as i am new to vc++ so i face a problem of how can an edit box is disabled from other form which has menu and i want to click on menu that is popup and has one option that is delete when i click on delete it will display next dialog box and then also make some edit control disabled which are on that dialog box plz anybody help me in this regard as i try some but not find success NOTE: plz give in detail as i know only connecting forks in vc++ //////////////////////now look at this/////////////////////// yar why u domnt undestand i want to disable my edit control which is on one form(dailog) and i want to disable it from menu which is on other form is it possible hi -- modified at 10:05 Monday 5th June, 2006
paras_s12 wrote:
yar why u domnt undestand i want to disable my edit control which is on one form(dailog) and i want to disable it from menu which is on other form is it possible
OnClick
Handller of Menu.. post message to other dialog where you button is Present. in handller of the posted message usingEnableWindow
disable the Button. api to use PostMessage and EnableWindow!"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
-
paras_s12 wrote:
yar why u domnt undestand i want to disable my edit control which is on one form(dailog) and i want to disable it from menu which is on other form is it possible
OnClick
Handller of Menu.. post message to other dialog where you button is Present. in handller of the posted message usingEnableWindow
disable the Button. api to use PostMessage and EnableWindow!"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
plz tell me where is the onclick handler of menu i dont find message handler option for menu as there is option for the classes but menu does not contain onclick handler tel me and how can i disable edit controlon oter dialog box from menu on another dialog box hi
-
for disable control use EnableWindow and whats application type i answer to like question one hours ago if your program is CDialog use like this if main class CMyView use this code in another form CMyView* view = (CMyView* )GetParent(); view->somefunction(); and for set text use SetWindowText_**
**_
whitesky
if main class CMyView use this code in another form CMyView* view = (CMyView* )GetParent(); view->somefunction(); and for set text use SetWindowText oK I USE THIS ONE WAT TEL ME ONE THING THAT view->somefunction(); WAT somefunction(); I CALL HERE TO DO SOLVE PROBLEM gourav dogra jfjunf
-
if main class CMyView use this code in another form CMyView* view = (CMyView* )GetParent(); view->somefunction(); and for set text use SetWindowText oK I USE THIS ONE WAT TEL ME ONE THING THAT view->somefunction(); WAT somefunction(); I CALL HERE TO DO SOLVE PROBLEM gourav dogra jfjunf
I dont understand view->somefunction(); instead somefunction you can use from your variables or functions in another dialog_**
**_
whitesky