Click here to Skip to main content
15,916,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: abababab() - what to do? Pin
фил27-Nov-03 3:07
фил27-Nov-03 3:07 
GeneralRe: abababab() - what to do? Pin
dennisV27-Nov-03 12:18
dennisV27-Nov-03 12:18 
AnswerRe: abababab() - what to do? Pin
Mike Dimmick27-Nov-03 2:29
Mike Dimmick27-Nov-03 2:29 
GeneralRe: abababab() - what to do? Pin
dennisV27-Nov-03 12:08
dennisV27-Nov-03 12:08 
QuestionHow to Restrict floating of Dockable window Pin
Kashish Kumar26-Nov-03 18:16
Kashish Kumar26-Nov-03 18:16 
Generalexec output Pin
marouane miftah el kheir26-Nov-03 17:33
marouane miftah el kheir26-Nov-03 17:33 
GeneralRe: exec output Pin
Johnny ²26-Nov-03 21:44
Johnny ²26-Nov-03 21:44 
GeneralMFC DialogBar problem Pin
Member 98943626-Nov-03 17:12
Member 98943626-Nov-03 17:12 
Hi all,
I've have added a CDialogBar to my SDI window,but all the push button like controls are disabled,even if dynamically enable them(with the EnableWindow() function), they just remain disabled while all the other controls are working properly.
[source]
CFrameWnd *cFrame = NULL;
cFrame = this->GetParentFrame();

if(!m_GameDlgBar.Create(cFrame,
IDD_GAME_DLG_BAR,
WS_CHILD | WS_VISIBLE | CBRS_RIGHT IDD_GAME_DLG_BAR))
{
AfxMessageBox( "Unable to create m_GameDlgBar\n"
+GetErrorString());
return ;//FALSE;
};
m_GameDlgBar.EnableButtons();

and then the function EnableButton's def.

void CGameDlgBar::EnableButtons()
{

HWND hWnd;
GetDlgItem( IDC_PASS, &hWnd);
::EnableWindow(hWnd, TRUE);
GetDlgItem( IDC_SEND, &hWnd);
::EnableWindow(hWnd, TRUE);
//m_Send.EnableWindow( TRUE );
//m_Pass.EnableWindow( TRUE );

}
[/source]
Any help?
GeneralPassword Keeper Pin
kpatry26-Nov-03 16:49
kpatry26-Nov-03 16:49 
GeneralRe: Password Keeper Pin
Prakash Nadar26-Nov-03 21:30
Prakash Nadar26-Nov-03 21:30 
GeneralPageFile Size Pin
matrixprogrammer26-Nov-03 15:08
matrixprogrammer26-Nov-03 15:08 
GeneralRe: PageFile Size Pin
Joe Woodbury26-Nov-03 16:40
professionalJoe Woodbury26-Nov-03 16:40 
GeneralRe: PageFile Size Pin
matrixprogrammer26-Nov-03 16:55
matrixprogrammer26-Nov-03 16:55 
GeneralTreeview control for BOM Pin
mmcsherr26-Nov-03 15:02
mmcsherr26-Nov-03 15:02 
Generalabout C++ Pin
Chau Ngoc Vo26-Nov-03 14:35
Chau Ngoc Vo26-Nov-03 14:35 
GeneralRe: about C++ Pin
Christian Graus26-Nov-03 15:24
protectorChristian Graus26-Nov-03 15:24 
GeneralRe: about C++ Pin
Joe Woodbury26-Nov-03 16:39
professionalJoe Woodbury26-Nov-03 16:39 
GeneralRe: about C++ Pin
Phil Hamer26-Nov-03 18:35
Phil Hamer26-Nov-03 18:35 
GeneralRe: about C++ Pin
Prakash Nadar26-Nov-03 21:25
Prakash Nadar26-Nov-03 21:25 
GeneralCryptoApi CryptEncrypt returning a smaller size Pin
(Steven Hicks)n+126-Nov-03 14:32
(Steven Hicks)n+126-Nov-03 14:32 
GeneralRe: CryptoApi CryptEncrypt returning a smaller size Pin
Mike Dimmick27-Nov-03 2:49
Mike Dimmick27-Nov-03 2:49 
GeneralLPCWSTR function question Pin
Binayak26-Nov-03 12:26
Binayak26-Nov-03 12:26 
GeneralC++ question Pin
Cpudood26-Nov-03 12:08
Cpudood26-Nov-03 12:08 
GeneralRe: C++ question Pin
Joaquín M López Muñoz26-Nov-03 12:20
Joaquín M López Muñoz26-Nov-03 12:20 
Generaltextboxes in forms c++.net Pin
marmary26-Nov-03 11:34
marmary26-Nov-03 11:34 

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.