mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib, CtrlCore: Now reading and using SPI_GETWHEELSCROLLLINES
git-svn-id: svn://ultimatepp.org/upp/trunk@7990 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
27f5c66fc2
commit
948e1554f7
5 changed files with 12 additions and 5 deletions
|
|
@ -607,6 +607,10 @@ void ChSysInit()
|
|||
GUI_DragDistance_Write(GetSystemMetrics(SM_CXDRAG));
|
||||
GUI_DblClickTime_Write(GetDoubleClickTime());
|
||||
|
||||
int slines;
|
||||
SystemParametersInfo(SPI_GETWHEELSCROLLLINES, 0, &slines, 0);
|
||||
GUI_WheelScrollLines_Write(slines);
|
||||
|
||||
CtrlImg::Set(CtrlImg::I_information, Win32Icon(IDI_INFORMATION));
|
||||
CtrlImg::Set(CtrlImg::I_question, Win32Icon(IDI_QUESTION));
|
||||
CtrlImg::Set(CtrlImg::I_exclamation, Win32Icon(IDI_EXCLAMATION));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue