Click here to Skip to main content
15,914,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPlace control next to scrollbar? Pin
ehh22-Feb-05 4:27
ehh22-Feb-05 4:27 
AnswerRe: Place control next to scrollbar? Pin
Neville Franks22-Feb-05 9:20
Neville Franks22-Feb-05 9:20 
GeneralRe: Place control next to scrollbar? Pin
ehh22-Feb-05 9:44
ehh22-Feb-05 9:44 
GeneralRe: Place control next to scrollbar? Pin
Neville Franks22-Feb-05 10:18
Neville Franks22-Feb-05 10:18 
GeneralRe: Place control next to scrollbar? Pin
ehh22-Feb-05 10:20
ehh22-Feb-05 10:20 
GeneralRe: Place control next to scrollbar? Pin
Neville Franks22-Feb-05 10:29
Neville Franks22-Feb-05 10:29 
GeneralRe: Place control next to scrollbar? Pin
Neville Franks22-Feb-05 10:20
Neville Franks22-Feb-05 10:20 
GeneralHy there ... about a simle Check_box ... Pin
assasin_shark22-Feb-05 3:59
assasin_shark22-Feb-05 3:59 
Actualy it is not that simple ... because i'm trying to learn and i don't have "Help" nor "MSDN" nor friends that know Visual C++ ...
My problem is with a Check_box .. i'm used to using Delphi ... in this case i don't have Delphi .. i must use Visual Studio C++ ... So I've banged my head in this small problem ...
I whant something like this ... when I click the Check_Box, a Edit_Box that was disabled, to be enabled ... this is what i've come up with :
<b> <code>int checkState;
CButton* pCheck = (CButton*)GetDlgItem(Check_Eagle);
if (pCheck->GetCheck() == 0) {
pCheck->SetCheck(1);}
else pCheck->SetCheck(0);
</code> </b> Laugh | :laugh:
When i hit a Button i whant to do the check ... if GetCheck = 1 then Edit_Eagle = Enabled ... and to enter a value in the same time ... :->:-> ...

can anyone help ?

iarta, iubeste, zimbese, exprima-te, relaxeaza-te, ajuta un batrin, accepta un compliment, ascula-ti prieteii, reia un proiect abandonat, fii intelegator cu tine si cu altii, uita-te la un album cu fotografii, picteaza un tablou, asculta tacerea, aminteste-ti intotdeauna ca nu esti singur, spune-le celor ragi cit de mult ii iubesti, imagineaza-ti ca astazi nu ai nici o grija, joaca-te cu un copil, citeste o carte buna, alege-ti o stea de pe cer, fii copil inca o data, suna-ti prietenii cu care n-ai vorbit de mult, da-ti voie sa mai si gresesti, lasai pe altii sa te ajute, renunta la ce u iti place, indeplineste-ti promisiunile, inchide ochii si imagineaza-ti ca esti pe o plaja tropicala, priveste atent o floare, cumpara-ti ceva ce iti doresti de mult, spera ca ceea ce iti doresti se va indeplini, ajuta-i pe altii, respira profund, fa-ti un cadou, iubeste !!!
GeneralRe: Hy there ... about a simle Check_box ... Pin
David Crow22-Feb-05 4:50
David Crow22-Feb-05 4:50 
GeneralRe: Hy there ... about a simle Check_box ... Pin
assasin_shark22-Feb-05 4:56
assasin_shark22-Feb-05 4:56 
GeneralRe: Hy there ... about a simle Check_box ... Pin
David Crow22-Feb-05 5:02
David Crow22-Feb-05 5:02 
GeneralRe: Hy there ... about a simle Check_box ... Pin
assasin_shark22-Feb-05 5:04
assasin_shark22-Feb-05 5:04 
GeneralRe: Hy there ... about a simle Check_box ... Pin
David Crow22-Feb-05 5:11
David Crow22-Feb-05 5:11 
GeneralRe: Hy there ... about a simle Check_box ... Pin
assasin_shark22-Feb-05 5:27
assasin_shark22-Feb-05 5:27 
GeneralRe: Hy there ... about a simle Check_box ... Pin
David Crow22-Feb-05 7:19
David Crow22-Feb-05 7:19 
GeneralRe: Hy there ... about a simle Check_box ... Pin
Ravi Bhavnani22-Feb-05 10:14
professionalRavi Bhavnani22-Feb-05 10:14 
GeneralRe: Hy there ... about a simle Check_box ... Pin
John R. Shaw22-Feb-05 20:38
John R. Shaw22-Feb-05 20:38 
GeneralRe: Hy there ... about a simle Check_box ... Pin
assasin_shark22-Feb-05 23:02
assasin_shark22-Feb-05 23:02 
Generalkeyboard strokes Pin
happycpp22-Feb-05 3:47
happycpp22-Feb-05 3:47 
GeneralRe: keyboard strokes Pin
ThatsAlok22-Feb-05 6:02
ThatsAlok22-Feb-05 6:02 
GeneralRe: keyboard strokes Pin
happycpp22-Feb-05 8:57
happycpp22-Feb-05 8:57 
GeneralRe: keyboard strokes Pin
ThatsAlok22-Feb-05 17:34
ThatsAlok22-Feb-05 17:34 
GeneralRe: keyboard strokes Pin
happycpp23-Feb-05 4:50
happycpp23-Feb-05 4:50 
GeneralRe: keyboard strokes Pin
John R. Shaw22-Feb-05 20:52
John R. Shaw22-Feb-05 20:52 
QuestionHow to process message when writing MFC Dll? Pin
tttyip22-Feb-05 3:46
tttyip22-Feb-05 3:46 

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.