Why does "ScrollWindow" produce a blank area?

Ask for help, how to use AHK_H, etc.
arcticir
Posts: 471
Joined: 17 Nov 2013, 11:32

Why does "ScrollWindow" produce a blank area?

14 Sep 2017, 17:12

Although you can adjust the coordinates to avoid the blank, but there is no other way to avoid this blank?

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus



Image
HotKeyIt
Posts: 1549
Joined: 29 Sep 2013, 18:35
Contact:

Re: Why does "ScrollWindow" produce a blank area?

14 Sep 2017, 17:53

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

arcticir
Posts: 471
Joined: 17 Nov 2013, 11:32

Re: Why does "ScrollWindow" produce a blank area?

14 Sep 2017, 19:57

thank you.
This is still the adjustment of coordinates, there is no other way to avoid blank?

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

HotKeyIt
Posts: 1549
Joined: 29 Sep 2013, 18:35
Contact:

Re: Why does "ScrollWindow" produce a blank area?

15 Sep 2017, 01:40

If you are using wrong coordinates, there will be blank!

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

arcticir
Posts: 471
Joined: 17 Nov 2013, 11:32

Re: Why does "ScrollWindow" produce a blank area?

15 Sep 2017, 09:37

Yes, we can calculate the rolling distance to correct the blank, but I can not understand the coordinates of these deformities, because "rolling blank", this thing itself is unreasonable.
What do i mean is that we can not eliminate the "blank" from the root cause?

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus



-----------------

"ScrollWindowEx" seems to have a "delete blank" command. Would you use it?

Code: [Select all] [Download] GeSHi © Codebox Plus

int ScrollWindowEx(
_In_ HWND hWnd,
_In_ int dx,
_In_ int dy,
_In_ const RECT *prcScroll,
_In_ const RECT *prcClip,
_In_ HRGN hrgnUpdate,
_Out_ LPRECT prcUpdate,
_In_ UINT flags
);
HotKeyIt
Posts: 1549
Joined: 29 Sep 2013, 18:35
Contact:

Re: Why does "ScrollWindow" produce a blank area?

16 Sep 2017, 03:09

The coordinates are where control is to be created, if you don't want to calculate, you would need to scroll a page, the you always start at the beginning.
Does this explain it better?

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

arcticir
Posts: 471
Joined: 17 Nov 2013, 11:32

Re: Why does "ScrollWindow" produce a blank area?

16 Sep 2017, 18:54

I understand.
thank you very much.

Return to “Ask For Help”

Who is online

Users browsing this forum: No registered users and 1 guest