Click here to Skip to main content
15,920,956 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sending paste message to another application Pin
MB_OK11-Dec-03 20:30
MB_OK11-Dec-03 20:30 
GeneralRe: Sending paste message to another application Pin
MB_OK11-Dec-03 20:32
MB_OK11-Dec-03 20:32 
GeneralCTreeCtrl weird problem Pin
rpadrela11-Dec-03 3:43
rpadrela11-Dec-03 3:43 
GeneralRe: CTreeCtrl weird problem Pin
Andrew Komiagin11-Dec-03 4:50
Andrew Komiagin11-Dec-03 4:50 
GeneralRe: CTreeCtrl weird problem Pin
rpadrela11-Dec-03 5:04
rpadrela11-Dec-03 5:04 
GeneralIterate through all the controls on CFormView Pin
Abebe11-Dec-03 2:44
Abebe11-Dec-03 2:44 
GeneralRe: Iterate through all the controls on CFormView Pin
jmkhael11-Dec-03 2:55
jmkhael11-Dec-03 2:55 
GeneralRe: Iterate through all the controls on CFormView Pin
Prakash Nadar11-Dec-03 2:57
Prakash Nadar11-Dec-03 2:57 
Create a array of UINT that you want to enable or disable in group.
assign each element of the array the value of the item id
as a example

UINT uControls[10];
uControls[0] = IDC_STATIC;
uControls[0] = IDC_BUTTON1;
etc

then when you want to enable or disable;

for(int i =0;i<10;i++)
{
GetDlgItem(uContorols[i])->EnableWindow(TRUE or FALSE);
}

Hope this helpes.





My God is more powerfull Than Your God. (the line that divides the world)
GeneralRe: Iterate through all the controls on CFormView Pin
Abebe11-Dec-03 3:36
Abebe11-Dec-03 3:36 
GeneralRe: Iterate through all the controls on CFormView Pin
Ravi Bhavnani11-Dec-03 3:13
professionalRavi Bhavnani11-Dec-03 3:13 
GeneralRe: Iterate through all the controls on CFormView Pin
Abebe11-Dec-03 3:38
Abebe11-Dec-03 3:38 
GeneralRe: Iterate through all the controls on CFormView Pin
Abebe11-Dec-03 3:47
Abebe11-Dec-03 3:47 
GeneralRe: Iterate through all the controls on CFormView Pin
Ravi Bhavnani11-Dec-03 5:45
professionalRavi Bhavnani11-Dec-03 5:45 
Generalabout record voice Pin
yingkou11-Dec-03 2:19
yingkou11-Dec-03 2:19 
GeneralRe: about record voice Pin
jmkhael11-Dec-03 3:03
jmkhael11-Dec-03 3:03 
GeneralRe: about record voice Pin
yingkou11-Dec-03 13:27
yingkou11-Dec-03 13:27 
GeneralRe: about record voice Pin
jmkhael11-Dec-03 22:03
jmkhael11-Dec-03 22:03 
Generalanother (?) about vectors Pin
Snyp11-Dec-03 1:50
Snyp11-Dec-03 1:50 
GeneralRe: another (?) about vectors Pin
jmkhael11-Dec-03 2:35
jmkhael11-Dec-03 2:35 
GeneralRe: another (?) about vectors Pin
Snyp11-Dec-03 12:24
Snyp11-Dec-03 12:24 
GeneralRe: another (?) about vectors Pin
jmkhael11-Dec-03 22:07
jmkhael11-Dec-03 22:07 
GeneralPrinting trouble once again Pin
El'Cachubrey11-Dec-03 1:15
El'Cachubrey11-Dec-03 1:15 
GeneralRe: Printing trouble once again Pin
Killen11-Dec-03 5:16
Killen11-Dec-03 5:16 
QuestionHow to display WinXP icons? Pin
Siberian...Husky11-Dec-03 1:13
Siberian...Husky11-Dec-03 1:13 
AnswerRe: How to display WinXP icons? Pin
Mathias S.11-Dec-03 1:29
Mathias S.11-Dec-03 1:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.