Search:
Type: Posts; User: DaveDavis
Search:
Search took 0.03 seconds.
-
some similar discussion on this forums:
Id 736285
Id 375341
Id 231663
-
They are forcing you to change the OS from Hard Disk to SSD to solve those hanging problem...
-
How to get GetWindowSize?
GetWindowRect can do so but... because it requires the window has been shown at least once. This is a REAL headache.
-
setup.exe ???
What is it? Nobody dare to open.
-
Thank you explanations.
Have you studied how to park the Form at exact position considering the thickness of Aero edge?
Sub Main()
'standard code not considering Aero borders
...
-
What is it? I can't understand.
-
I have no knowledge on ElementHost. I used to use dsoframer.ocx (AxDSOFramer) to hold OLE Office MSWord on VB.NET app. Can ElementHost do so?
-
Headache to design the print preview window due to Dpi reason. For a user window, if we drag from 96dpi to another 168dpi, everything should enlarge in proportions for DpiAware/DpiAwareness. But for...
-
The preview is customized, not use .NET's PrintPreviewDialog.
-
I also have such feeling at first. When I get used, I am OK.
-
Our famous LeandroA's ucGridPlus also used CarlesPV 's ucScrollbar, I can see the Theme is not working on Win11 or Win10.
-
The form (e.g. for Print Preview) have to set Maximize when the form start showing, MaximizeBox is True and the form is Resizable. That is the reason I have such problem. MS doesn't provide such...
-
[VB6] Smooth Scrollbar Control v1.0.9b (updated 11/12/19) by shagratt
-
For WYSIWYG printing, the picturebox size in pixel will follow the actual paper size computed by some factors such as Screen Dpi and zoom factor.
-
Let's say we use one Picturebox as print preview canvas. If we print on A4 paper and the zoom is 100% , does the Picturebox need to resize to 21.0 x 29.7 cm (for Dpi 96, 793x1122 in pixel) for best...
-
My form's start up sets to maximize and resizable:(
-
this link replied my question.
-
this link replied my question.
class Form1
{
private const int WM_NCLBUTTONDBLCLK = 0xA3;
private const int HTCAPTION = 0x2;
-
Processing WM_NCLBUTTONDOWN and WM_NCHITTEST can do...but make thing complicated.
-
Thank you, We can subclass WM_NCLBUTTONDBLCLK then resize our Form.
How about the drag then resize behavior?
-
Look like there's no direct event. I have to Subclass WM_NCLBUTTONDBLCLK for double click. Still thinking what is the start drag and resizing relevant event.
-
When we double click or drag the caption bar, the windows automatically resize to a certain size.
My question is:
What is the event for double click the caption bar?
What is the event...
-
When we double click or drag the caption bar, the windows automatically resize to certain size. My question is: What is the event for double click the caption bar? What is the event for drag the...
-
On Win11, The Scrollbars got 2 obvious changes:
1. Fade-in-out feature
When mouse move out of Scrollbar, the thumb and arrow button are fade-out like hp's breath LED light. It's very beautiful....
-
I got it:
1. While app launching, read the main screen Dpi by gInitMainScreenDpiX= NativeMethods.GetDeviceCaps(desktopDC, 88) and set VScrollbar.Width = NativeMethods.GetSystemMetrics(2)
2. While...
-
OK.
I got it:
1. While app launching, read the main screen Dpi by gInitMainScreenDpiX= GetDeviceCaps(desktopDC, 88) and set VScrollbar.Width = GetSystemMetrics(2)
2. While app move to another...
-
GetSystemMetrics(2) always returns the main display screen data. GetSystemMetricsForDpi has 2nd parameter DeviceDpi to do computation. It is useful when the window moved to the 2nd Monitor.
-
GetSystemMetrics(2) always returns the main display screen data. GetSystemMetricsForDpi has 2nd parameter DeviceDpi to do computation. It is useful when the window moved to 2nd Monitor.
...
-
Please test :
1. Main Display (Monitor) is over 96 Dpi (e.g. 168 Dpi or 175%), 2nd display is whatever.
2. Main Display (Monitor) is 96 Dpi, 2nd display is over 96 Dpi(e.g. 168 Dpi or 175%)....
-
SystemInformation.VerticalScrollBarWidth is the same with GetSystemMetrics(2). From what I tested, it fails to get the right value in some situation (e.g. Main display is 168, 2nd is 96 Dpi). I even...
-
It's a dropdown Listbox to simulate ComboBox. But as you said, I can put a panel container and draw panel border.
-
GetSystemMetrics is an old API w/o DPIAware. GetSystemMetricsForDpi does. But GetSystemMetricsForDpi is a newer API for above Windows 10 Anniversary version 1607. Is there any way to replace by a...
-
GetSystemMetrics is an old API w/o DPIAware. GetSystemMetricsForDpi does. But GetSystemMetricsForDpi is a newer API for above Windows 10 Anniversary version 1607. Is there any way to replace by a...
-
Due to some issues on other than 96 Dpi for BorderStyle.FixedSingle, I set the Listbox's BorderStyle = BorderStyle.None, but I want to draw a simple border line around. How to do this?
The below...
-
After I did this:
m_Columns[2].Width = m_Columns[2].Width * sngDpiScaleFactor
m_Rows[2].Height= m_Rows[2].Height * sngDpiScaleFactor
The draw is OK. But the retrieve value for...
-
Yes, I agree. Microsoft also applied the same SOP on standard components such as Month Calendar, Buttons...
So, the UserControl have to take care the Client Size and Column/Row size multiplied by...
-
I set the Listbox's BorderStyle = BorderStyle.None, but I want to draw a simple border line around.
public partial class DropDownListBox : ListBox
{
public DropDownListBox()
{...
-
One of gold rules is that we should develop our app in 96 dpi. We set the table Grid's properties like grid1.Column(2).Width = 80 and grid1.Row(2).Height = 30, but if the main screen is over 96 dpi,...
-
-
I used to use WebBrowser control to edit my doc via DOM. But the problem i am facing is this obsolete control has poor support HTML5.
Please educate me whether webview2 can be editable as what...
|
Click Here to Expand Forum to Full Width
|