|
|
1.1 ! root 1: Sample: Common Dialog DLL ! 2: ! 3: Summary: ! 4: ! 5: A sample demonstrating the use of all of the common dialog ! 6: box functions in the Win32 API is now available. ! 7: ! 8: More Information: ! 9: ! 10: Each dialog box is demonstrated being used in three ! 11: different ways: standard, using a hook function, and using a ! 12: modified template. Currently, the ChooseColor function does ! 13: not function correctly when either a hook is installed or a ! 14: customized template is employed. The sample contains an ! 15: #ifdef NOTIMPLEMENTED for this case. When this problem is ! 16: corrected, the #ifdef can be removed. ! 17: ! 18: The Win32 API functions used in this sample include the ! 19: following: ! 20: ! 21: BeginPaint GetClientRect LoadCursor SelectObject ! 22: CreateFontIndi GetDC LoadIcon SendMessage ! 23: rect ! 24: CreateWindow GetDeviceCaps LoadMenu SetBkColor ! 25: CreateWindowEx GetMessage LocalAlloc SetBkMode ! 26: ChooseColor GetModuleHandl LocalFree SetFocus ! 27: e ! 28: ChooseFont GetOpenFileNam LocalLock SetTextColor ! 29: e ! 30: DefFrameProc GetParent LocalUnlock SetWindowLong ! 31: DefMDIChildPro GetSaveFileNam MessageBox SetWindowPos ! 32: c e ! 33: DeleteObject GetSubMenu MoveWindow SetWindowText ! 34: DialogBox GetSystemMetri OutputDebugStr SystemParameter ! 35: cs ing sInfo ! 36: DispatchMessag GetTextMetrics PostQuitMessag TranslateMessag ! 37: e e e ! 38: DrawMenuBar GetWindowLong PrintDlg UpdateWindow ! 39: EndDialog GetWindowText ReadProcessMem wsprintf ! 40: ory ! 41: EndPaint InvalidateRect ReleaseDC ! 42: extTextOut LoadAccelerato ReplaceText ! 43: rs ! 44: ! 45:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.