Hi,
Is it possible to determine the type of computer on which my application is running - PC or laptop?
If it is a PC, then you can determine the tim of the monitor - sensor or not?
Type of computer/monitor
Re: Type of computer/monitor
hi,
to find Tim of Monitor try https://learn.microsoft.com/en-us/windo ... ysettingsa
you can use WMI and Win32_DesktopMonitor/MonitorType to find out if MonitorType = LCD it is a LaptopNatter wrote:Is it possible to determine the type of computer on which my application is running - PC or laptop?
If it is a PC, then you can determine the tim of the monitor - sensor or not?
to find Tim of Monitor try https://learn.microsoft.com/en-us/windo ... ysettingsa
greeting,
Jimmy
Jimmy
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: Type of computer/monitor
Some of the useful functions in FWH:
We may try:
Code: Select all | Expand
FW_IsTouchScreen()
FW_IsMousePresent()
FW_IsTabletMode()
ScreenSize( [lInches] ) --> Screen Diameter in MM or Inches
Code: Select all | Expand
if FW_IsTouchScreen() .and. !FW_IsMousePresent() .and. ;
FW_IsTabletMode() .and. ScreenSize( .t. ) <= 10
? "tablet"
endif
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: Type of computer/monitor
Also try
Right now, I don't have tablet PC with me to test.
You can provide your feedback.
Soon, we will try to add more functions about pen
Code: Select all | Expand
GetSystemMetrics(SM_TABLETPC)
You can provide your feedback.
Soon, we will try to add more functions about pen
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India