mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 05:52:57 +00:00
[OSK] Make the buttons themed
Our On-Screen Keyboard has a manifest and the buttons (the ones with BS_ICON styles) aren't rendered with the specific theme as it should be but instead it takes the classic theme. The code relies on NM_CUSTOMDRAW notification, which is more intuitive and efficient than doing owner-drawn operations as NM_CUSTOMDRAW allows the controls to use styles whereas you cannot do it on owner-drawn controls. CORE-15965
This commit is contained in:
parent
9ce337242b
commit
f681bad246
3 changed files with 66 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
|||
/*
|
||||
* PROJECT: ReactOS On-Screen Keyboard
|
||||
* LICENSE: GPL - See COPYING in the top level directory
|
||||
* FILE: base/applications/osk/osk.h
|
||||
* PURPOSE: On screen keyboard.
|
||||
* PROGRAMMERS: Denis ROBERT
|
||||
* COPYRIGHT: Denis ROBERT
|
||||
* Copyright 2019 Bișoc George (fraizeraust99 at gmail dot com)
|
||||
*/
|
||||
|
||||
#ifndef _OSK_H
|
||||
|
@ -16,6 +16,8 @@
|
|||
#include <windows.h>
|
||||
#include <commctrl.h>
|
||||
#include <debug.h>
|
||||
#include <uxtheme.h>
|
||||
#include <vsstyle.h>
|
||||
|
||||
#include "main.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue