Lines Matching refs:pImpl

555     FileOpenDialogImplWin32 *pImpl = reinterpret_cast<FileOpenDialogImplWin32*>
569 pImpl = reinterpret_cast<FileOpenDialogImplWin32*>(ofn->lCustData);
576 if ( pImpl->dialogType == EXE_TYPES) {
589 pImpl->_base_window_proc = (WNDPROC)GetWindowLongPtr(hParentWnd, GWLP_WNDPROC);
592 if ( pImpl->dialogType != EXE_TYPES) {
594 pImpl->_toolbar_wnd = FindWindowEx(hParentWnd, NULL, "ToolbarWindow32", NULL);
596 pImpl->_show_preview_button_bitmap = LoadBitmap(
598 TBADDBITMAP tbAddBitmap = {NULL, reinterpret_cast<UINT_PTR>(pImpl->_show_preview_button_bitmap)};
599 const int iBitmapIndex = SendMessage(pImpl->_toolbar_wnd,
607 tbButton.fsState = (pImpl->_show_preview ? TBSTATE_CHECKED : 0)
611 SendMessage(pImpl->_toolbar_wnd, TB_ADDBUTTONS, 1, (LPARAM)&tbButton);
617 pImpl->_mutex->lock();
619 pImpl->_file_dialog_wnd = hParentWnd;
621 if ( pImpl->dialogType != EXE_TYPES) {
622 pImpl->_preview_wnd =
626 SetWindowLongPtr(pImpl->_preview_wnd, GWLP_USERDATA, ofn->lCustData);
629 pImpl->_mutex->unlock();
631 pImpl->layout_dialog();
643 if(pImpl != NULL)
646 pImpl->_mutex->lock();
649 sizeof(pImpl->_path_string) / sizeof(wchar_t),
650 (LPARAM)pImpl->_path_string);
652 pImpl->_file_selected = true;
654 pImpl->_mutex->unlock();
663 pImpl->_mutex->lock();
664 pImpl->_preview_file_size = 0;
666 pImpl->_file_dialog_wnd = NULL;
667 DestroyWindow(pImpl->_preview_wnd);
668 pImpl->_preview_wnd = NULL;
669 DeleteObject(pImpl->_show_preview_button_bitmap);
670 pImpl->_show_preview_button_bitmap = NULL;
671 pImpl->_mutex->unlock();
682 FileOpenDialogImplWin32 *pImpl = reinterpret_cast<FileOpenDialogImplWin32*>
685 LRESULT lResult = CallWindowProc(pImpl->_base_window_proc, hwnd, uMsg, wParam, lParam);
691 pImpl->layout_dialog();
695 pImpl->layout_dialog();
701 const bool enable = SendMessage(pImpl->_toolbar_wnd,
703 pImpl->enable_preview(enable);
716 FileOpenDialogImplWin32 *pImpl = reinterpret_cast<FileOpenDialogImplWin32*>
744 pImpl->_mutex->lock();
746 if(pImpl->_path_string[0] == 0)
755 else if(pImpl->_preview_bitmap != NULL)
758 GetObject(pImpl->_preview_bitmap, sizeof(bitmap), &bitmap);
763 HBITMAP hOldBitmap = (HBITMAP)SelectObject(hSrcDC, pImpl->_preview_bitmap);
789 const int iLength = pImpl->format_caption(
795 else if(pImpl->_preview_file_icon != NULL)
801 DrawIconEx(dc, destX, 0, pImpl->_preview_file_icon,
811 _wsplitpath(pImpl->_path_string, NULL, NULL, szFileName, NULL);
815 szFileName, pImpl->_preview_file_size);
826 pImpl->_mutex->unlock();
836 pImpl->free_preview();
1919 FileSaveDialogImplWin32 *pImpl = reinterpret_cast<FileSaveDialogImplWin32*>
1957 pImpl = reinterpret_cast<FileSaveDialogImplWin32*>(ofn->lCustData);
1960 pImpl->_title_label = CreateWindowEx(0, "STATIC", _("Title:"),
1964 if(pImpl->_title_label) {
1965 if(dlgFont) SendMessage(pImpl->_title_label, WM_SETFONT, (WPARAM)dlgFont, MAKELPARAM(FALSE, 0));
1966 SetWindowPos(pImpl->_title_label, NULL, rST.left-rROOT.left, rST.top+ydelta-rROOT.top,
1970 pImpl->_title_edit = CreateWindowEx(WS_EX_CLIENTEDGE, "EDIT", "",
1974 if(pImpl->_title_edit) {
1975 if(dlgFont) SendMessage(pImpl->_title_edit, WM_SETFONT, (WPARAM)dlgFont, MAKELPARAM(FALSE, 0));
1976 SetWindowPos(pImpl->_title_edit, NULL, rCB1.left-rROOT.left, rCB1.top+ydelta-rROOT.top,
1979 SetWindowText(pImpl->_title_edit, pImpl->myDocTitle.c_str());
1985 if(pImpl->_title_edit) {
1986 int length = GetWindowTextLength(pImpl->_title_edit)+1;
1988 GetWindowText(pImpl->_title_edit, temp_title, length);
1989 pImpl->myDocTitle = temp_title;
1991 DestroyWindow(pImpl->_title_label);
1992 pImpl->_title_label = NULL;
1993 DestroyWindow(pImpl->_title_edit);
1994 pImpl->_title_edit = NULL;