Message 1 of 2
File dialogs
Not applicable
05-30-2013
12:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I`m creating simple dialog for my 3DXI exporter, so i want specify some specific folders and I`m trying to show DoMaxBrowseForFolder
The dialog is showing, but buttons or other controls don`t work, I've tried pass NULL or MaxhWnd as hWnd to DoMaxBrowseForFolder.
I've checked in the debugger that the threads locks in NtPeekMessage, may be i have specify something?
Here i'm creating dialog:
Is it OK that parent for FolderDialog also dialog?
MaxSDK 13.
INT_PTR CALLBACK ExportOptionsDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch(message) {
case WM_COMMAND:
switch (LOWORD(wParam))
{
case IDC_BTN_MESH:
pathControl = IDC_PATH_MESH;
initPath = params.m_meshPath;
Interface13* imax = GetCOREInterface13();
imax->DoMaxBrowseForFolder(hWnd, _M(""), initPath);
//..
The dialog is showing, but buttons or other controls don`t work, I've tried pass NULL or MaxhWnd as hWnd to DoMaxBrowseForFolder.
I've checked in the debugger that the threads locks in NtPeekMessage, may be i have specify something?
Here i'm creating dialog:
if (!suppressPrompts && !DialogBoxParam(hInstance, MAKEINTRESOURCE(IDD_PANEL), pInterface->GetMAXHWnd(), ExportOptionsDlgProc, (LPARAM)(LPVOID)this))
return 1;
Is it OK that parent for FolderDialog also dialog?
MaxSDK 13.