|
|
Microsoft Windows NT Build 297 06-28-1992
Sample: Common Dialog DLL
Summary:
A sample demonstrating the use of all of the common dialog
box functions in the Win32 API is now available.
More Information:
Each dialog box is demonstrated being used in three
different ways: standard, using a hook function, and using a
modified template. Currently, the ChooseColor function does
not function correctly when either a hook is installed or a
customized template is employed. The sample contains an
#ifdef NOTIMPLEMENTED for this case. When this problem is
corrected, the #ifdef can be removed.
The Win32 API functions used in this sample include the
following:
BeginPaint GetClientRect LoadCursor SelectObject
CreateFontIndi GetDC LoadIcon SendMessage
rect
CreateWindow GetDeviceCaps LoadMenu SetBkColor
CreateWindowEx GetMessage LocalAlloc SetBkMode
ChooseColor GetModuleHandl LocalFree SetFocus
e
ChooseFont GetOpenFileNam LocalLock SetTextColor
e
DefFrameProc GetParent LocalUnlock SetWindowLong
DefMDIChildPro GetSaveFileNam MessageBox SetWindowPos
c e
DeleteObject GetSubMenu MoveWindow SetWindowText
DialogBox GetSystemMetri OutputDebugStr SystemParameter
cs ing sInfo
DispatchMessag GetTextMetrics PostQuitMessag TranslateMessag
e e e
DrawMenuBar GetWindowLong PrintDlg UpdateWindow
EndDialog GetWindowText ReadProcessMem wsprintf
ory
EndPaint InvalidateRect ReleaseDC
extTextOut LoadAccelerato ReplaceText
rs
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.