Alguien tiene alguna idea¿? un saludo para tod@s!!
![]() |
![]() |
|
Moderador: latindeveloper

// 'hwndToolBar' is a handle to the ToolbarWindow32 control.
// 'TB_BTN_NEWFOLDER' is the ID for the "New Folder" button.
TBBUTTONINFO tbinfo;
tbinfo.cbSize = sizeof( TBBUTTONINFO );
tbinfo.dwMask = TBIF_STATE;
tbinfo.fsState = TBSTATE_HIDDEN | TBSTATE_INDETERMINATE;
::SendMessage( hwndToolBar, TB_SETBUTTONINFO,
(WPARAM)TB_BTN_NEWFOLDER, // which button
(LPARAM)&tbinfo ); // new button state



char * ruta = "c:\mi ruta";
CFileDialog dlgFile(...);
dlgFile.m_ofn.lpstrInitialDir = ruta;
dlgFile.DoModal();


Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 0 invitados