Wine, WineLib and "Programming Windows 95"
Last updated: 2003/5/4
Description
Lists all the message macros associated to standard controls:
ListView_InsertItem, ... The list is organized as a tree into domains, "List
View Controls", and then subdomains, "Modify Item List", and finally
messages, "LVM_INSERTITEM".
Wine tests
- The dotted lines that draw the tree aer not
redrawn correctly after scrolling.
Winelib tests
- 'ctlmacro.c' does not compile:
ctlmacro.c:9: richole.h: Aucun fichier ou répertoire de ce type.
- 'treeview.c' does not compile. This is a nameless union problem.
treeview.c: In function `tv_BuildRootFolder':
treeview.c:22: structure has no member named `item'
treeview.c:24: structure has no member named `item'
treeview.c:25: structure has no member named `item'
treeview.c:26: structure has no member named `item'
treeview.c:30: structure has no member named `item'
treeview.c:31: structure has no member named `item'
treeview.c:32: structure has no member named `item'
treeview.c:33: warning: assignment makes pointer from integer without a cast
treeview.c: In function `tv_ExpandChild':
treeview.c:51: structure has no member named `item'
treeview.c:53: structure has no member named `item'
treeview.c:54: structure has no member named `item'
treeview.c:55: structure has no member named `item'
treeview.c:63: structure has no member named `item'
treeview.c:64: structure has no member named `item'
treeview.c:65: warning: assignment makes pointer from integer without a cast
treeview.c:71: structure has no member named `item'
treeview.c:73: structure has no member named `item'
treeview.c:74: structure has no member named `item'
treeview.c:77: structure has no member named `item'
treeview.c:78: structure has no member named `item'
treeview.c:79: structure has no member named `item'
treeview.c:80: warning: assignment makes pointer from integer without a cast
Tested API
- COMCTL32
ImageList_LoadImageA
- KERNEL32
CloseHandle, ExitProcess, FlushFileBuffers, FreeEnvironmentStringsA, FreeEnvironmentStringsW, GetACP, GetCPInfo, GetCommandLineA, GetEnvironmentStrings, GetEnvironmentStringsW, GetFileType, GetLastError, GetModuleFileNameA, GetModuleHandleA, GetOEMCP, GetProcAddress, GetStartupInfoA, GetStdHandle, GetVersion, HeapAlloc, HeapCreate, HeapFree, LoadLibraryA, RtlUnwind, SetFilePointer, SetHandleCount, SetStdHandle, UnhandledExceptionFilter, WideCharToMultiByte, WriteFile
- USER32
DialogBoxParamA, EnableWindow, EndDialog, GetDlgItem, GetWindowTextLengthA, LoadIconA, SendMessageA, SetWindowTextA
Last updated: 2003/5/4
Description
Gadgets demonstrates the use of toolbars, status bars and tooltips. For
this it has an instance of each and commands allow you to change their
properties on the fly. The toolbar can be customized: buttons can be added,
reordered, ... Furthermore the messages (at least some of them) received by
these are printed in the window.
Wine tests
- If you click on a toolbar icon, a dialog box prints
the command. However, after you close the dialog box the message list
is not redrawn correctly.
- The toolbar icon strings are displayed on a white
background instead of the normal gray background of the icon.
- In the toolbar customization, CCS_BOTTOM does not
seem to work..
- Needs more testing!
Winelib tests
- 'toolbar.c' contains errors and will not compile as is (whether you use
gcc or Visual C++ 5): It defines a variable in the middle of a function
(legal in C++ but not in C). So I provided a patch to make it compile.
Tested API
- COMCTL32
CreateToolbarEx
- GDI32
CreateSolidBrush, DeleteObject, GetStockObject, SetBkColor, SetBkMode
- KERNEL32
CloseHandle, ExitProcess, FlushFileBuffers, FreeEnvironmentStringsA, FreeEnvironmentStringsW, GetACP, GetCPInfo, GetCommandLineA, GetEnvironmentStrings, GetEnvironmentStringsW, GetFileType, GetLastError, GetModuleFileNameA, GetModuleHandleA, GetOEMCP, GetProcAddress, GetStartupInfoA, GetStdHandle, GetVersion, HeapAlloc, HeapCreate, HeapFree, LoadLibraryA, RtlUnwind, SetFilePointer, SetHandleCount, SetStdHandle, UnhandledExceptionFilter, WideCharToMultiByte, WriteFile, lstrcpyA, lstrlenA
- USER32
CheckMenuItem, CreateWindowExA, DefWindowProcA, DestroyWindow, DispatchMessageA, GetClientRect, GetMenu, GetMessageA, GetParent, GetSubMenu, GetSysColor, GetSystemMetrics, GetWindow, GetWindowLongA, GetWindowRect, InvalidateRect, IsWindowVisible, LoadCursorA, LoadIconA, MessageBoxA, MoveWindow, PostMessageA, PostQuitMessage, RegisterClassExA, ScreenToClient, SendMessageA, SetParent, ShowWindow, TranslateMessage, UpdateWindow, wsprintfA
Last updated: 2003/5/4
Description
Demonstrates the use of property sheets. The application takes the form
of an MDI window with two inner windows. You can then activate a non-modal
dialog box which will allow you to modify the properties of these two
windows. This dialog box uses property sheets either presenting them in the
form of a wizard or with tabs. The menu allows you to choose how you want it.
Notes:
- If you make the windows overlap you will probably notice redraw problems
(at least on Windows)!
- Just clicking on a window will not change its Z order. But moving it
around will.
- In 'Window Styles' you cannot change 'WS_BORDER', 'WS_CAPTION' and
'WS_DLGFRAME'.
Wine tests
Winelib tests
Tested API
- COMCTL32
PropertySheetA
- KERNEL32
CloseHandle, ExitProcess, FlushFileBuffers, FreeEnvironmentStringsA, FreeEnvironmentStringsW, GetACP, GetCPInfo, GetCommandLineA, GetEnvironmentStrings, GetEnvironmentStringsW, GetFileType, GetLastError, GetModuleFileNameA, GetModuleHandleA, GetOEMCP, GetProcAddress, GetStartupInfoA, GetStdHandle, GetVersion, HeapAlloc, HeapCreate, HeapFree, LoadLibraryA, RtlUnwind, SetFilePointer, SetHandleCount, SetStdHandle, UnhandledExceptionFilter, WideCharToMultiByte, WriteFile
- USER32
CheckMenuItem, CreateWindowExA, DefWindowProcA, DestroyWindow, DispatchMessageA, GetClientRect, GetDlgItem, GetMessageA, GetParent, IsWindowEnabled, LoadCursorA, LoadIconA, MessageBoxA, MoveWindow, PostMessageA, PostQuitMessage, RegisterClassExA, SendMessageA, SetActiveWindow, SetFocus, ShowWindow, TranslateMessage, UpdateWindow