SalimMeghani
Primary tabs
My stories
WndProc (Part 13)
// Translate cursor keys to scroll messages. case WM_KEYDOWN: switch(wParam) { case VK_UP: SendMessage(hWnd, WM_VSCROLL, SB_LINEUP,0L); break; case...
- Read more about WndProc (Part 13)
- Log in to post comments
- 178 reads
WndProc (Part 12)
if (scroll) { dscroll=5; } ReleaseDC(hWnd,hdc); olrxpos=curxpos; olrypos=curypos; credraw=1; vredraw=1; // row=ctypos; column=ctxpos; InvalidateRect(...
- Read more about WndProc (Part 12)
- Log in to post comments
- 177 reads
WndProc (Part 11)
// Called when performing a scroll by a column. case WM_HSCROLL: hdc=GetDC(hWnd); SelectObject(hdc, GetStockObject(SYSTEM_FIXED_FONT));...
- Read more about WndProc (Part 11)
- Log in to post comments
- 161 reads
WndProc (Part 10)
if (scroll) { dscroll=5; } ReleaseDC(hWnd,hdc); olrxpos=curxpos; olrypos=curypos; credraw=1;` hredraw=1; // row=ctypos; column=ctxpos; InvalidateRect...
- Read more about WndProc (Part 10)
- Log in to post comments
- 184 reads
WndProc (Part 9)
// Called when performing a scroll by a row. case WM_VSCROLL: hdc=GetDC(hWnd); SelectObject(hdc, GetStockObject(SYSTEM_FIXED_FONT)); GetTextMetrics(...
- Read more about WndProc (Part 9)
- Log in to post comments
- 171 reads