For future referencers of this question, here is the path to find the "Show window contents while dragging" checkbox on Windows:
1. Open the Start menu;
2. Right-click Computer (or "This PC") → Properties;
3. Click Advanced system settings;
4. Click Performance → Settings;
5. Enable "Show window ...
Search found 14 matches
- Sat Feb 25, 2023 11:47 pm
- Forum: Coding Questions
- Topic: Retrieve All #PB_Event_SizeWindow Events during Resize
- Replies: 10
- Views: 735
- Sat Feb 25, 2023 11:43 pm
- Forum: Coding Questions
- Topic: Retrieve All #PB_Event_SizeWindow Events during Resize
- Replies: 10
- Views: 735
Re: Retrieve All #PB_Event_SizeWindow Events during Resize
That was it, AZJIO!!!
I had no idea that setting even existed on Windows. But I will definitley write down the process to find it.
After setting the checkbox, I went back to both your program, and the one given to me by Rashad, and they all performed as I would want them to. Now I just have to see ...
I had no idea that setting even existed on Windows. But I will definitley write down the process to find it.
After setting the checkbox, I went back to both your program, and the one given to me by Rashad, and they all performed as I would want them to. Now I just have to see ...
- Sat Feb 25, 2023 11:21 pm
- Forum: Coding Questions
- Topic: Retrieve All #PB_Event_SizeWindow Events during Resize
- Replies: 10
- Views: 735
Re: Retrieve All #PB_Event_SizeWindow Events during Resize
Thanks AZJIO, but I'm seeing the same behavior. The window reformat only takes place upon mouse-up. During the drag, I see an outline of the expanding window-box perimeter, but none of the interior content is reconfigured until I release the mouse button.
- Sat Feb 25, 2023 11:12 pm
- Forum: Coding Questions
- Topic: Retrieve All #PB_Event_SizeWindow Events during Resize
- Replies: 10
- Views: 735
Re: Retrieve All #PB_Event_SizeWindow Events during Resize
Looks like the Image did not come across. Myabe a raw link will https://drive.google.com/file/d/1dfnVvI ... share_link
- Sat Feb 25, 2023 11:10 pm
- Forum: Coding Questions
- Topic: Retrieve All #PB_Event_SizeWindow Events during Resize
- Replies: 10
- Views: 735
Re: Retrieve All #PB_Event_SizeWindow Events during Resize
Interesting... We're seeing different results.
Here's what I see after I have resized the initial box to musch smaller.
https://drive.google.com/file/d/1dfnVvI7ETD_rU3ntZ6vgfs7K5_g2Ta1m/view?usp=share_link
By making the box much smaller, I would have expected many events. But I only get one.
I ...
Here's what I see after I have resized the initial box to musch smaller.
https://drive.google.com/file/d/1dfnVvI7ETD_rU3ntZ6vgfs7K5_g2Ta1m/view?usp=share_link
By making the box much smaller, I would have expected many events. But I only get one.
I ...
- Sat Feb 25, 2023 10:42 pm
- Forum: Coding Questions
- Topic: Retrieve All #PB_Event_SizeWindow Events during Resize
- Replies: 10
- Views: 735
Re: Retrieve All #PB_Event_SizeWindow Events during Resize
Thanks for your reply, Rashad. But on my system (Windows 10) using your code, the resize behaves as defined - not as I want.
That is, I recieve a single event notification upon Mouse Button Up after the resize - not many events during the Mouse-Button-Down-Drag-Resize operation. Those are the ...
That is, I recieve a single event notification upon Mouse Button Up after the resize - not many events during the Mouse-Button-Down-Drag-Resize operation. Those are the ...
- Sat Feb 25, 2023 8:17 pm
- Forum: Coding Questions
- Topic: Retrieve All #PB_Event_SizeWindow Events during Resize
- Replies: 10
- Views: 735
Retrieve All #PB_Event_SizeWindow Events during Resize
I realize that # PB_Event_SizeWindow was corrected via https://www.purebasic.fr/english/viewtopic.php?f=24&t=66074 to only send a single event upon completion of the window resize (at least on the Windows side).
But, is there a parameter or technique that can be used to send all resize events ...
But, is there a parameter or technique that can be used to send all resize events ...
- Sun Oct 18, 2020 10:56 pm
- Forum: Coding Questions
- Topic: RequiredSize for the Width of an Editor Gadget?
- Replies: 7
- Views: 1785
Re: RequiredSize for the Width of an Editor Gadget?
Thanks Rashad! I was thinking about going down this direction after the reply from infratec. Thanks for fleshing this out!
- Sun Oct 18, 2020 12:26 am
- Forum: Coding Questions
- Topic: RequiredSize for the Width of an Editor Gadget?
- Replies: 7
- Views: 1785
Re: RequiredSize for the Width of an Editor Gadget?
My particular project is highlighting line-by-line for website population. For my users, it is cleaner if all of the data is contained on a single line.Zach wrote:Why not just enable wordwrap ?
- Sun Oct 18, 2020 12:24 am
- Forum: Coding Questions
- Topic: RequiredSize for the Width of an Editor Gadget?
- Replies: 7
- Views: 1785
Re: RequiredSize for the Width of an Editor Gadget?
Well... not the cleanest of solutions, but may be a fallback. Thanks!infratec wrote:Hm...
find the longest line,
create an image,
use startdrawing
use TextWidth(Text$) to get the required pixels.
You have to use the same font
- Sat Oct 17, 2020 10:25 pm
- Forum: Coding Questions
- Topic: RequiredSize for the Width of an Editor Gadget?
- Replies: 7
- Views: 1785
RequiredSize for the Width of an Editor Gadget?
I am trying to programmatically determine the minimum width to resize an Editor Gadget in order to display the widest text line, so PB won't need to generate a horizontal scrollbar. The #PB_Gadget_RequiredSize option of GadgetWidth on my Editor Gadget always returns 0 - which would indicate to me ...
- Wed Jul 22, 2020 10:44 pm
- Forum: Coding Questions
- Topic: Determine specific row on multiselect ListIcon right-click
- Replies: 2
- Views: 1100
Re: Determine specific row on multiselect ListIcon right-cli
That's awesome, Shardik! Thank you so much! That's just what I needed!
- Wed Jul 22, 2020 6:27 pm
- Forum: Coding Questions
- Topic: Determine specific row on multiselect ListIcon right-click
- Replies: 2
- Views: 1100
Determine specific row on multiselect ListIcon right-click
This forum is a great repository of coding techniques, and I use it a lot! But, I've searched the forum and I've been unable to find a solution to my current problem.
I have a multiselect ListIcon gadget, and when multiple rows are selected, I want to be able to right-click on any particular row ...
I have a multiselect ListIcon gadget, and when multiple rows are selected, I want to be able to right-click on any particular row ...
- Tue Nov 17, 2015 11:40 pm
- Forum: Coding Questions
- Topic: Rotate Image
- Replies: 33
- Views: 15641
Re: Rotate Image Clockwise and Counter-Clockwise
; Image Rotating Code
; by Paul Leischow
; Compiler: PB 4.00
Procedure Image_Rotate(Image.l)
height=ImageHeight(Image)
width=ImageWidth(Image)
If height>width
temp=CreateImage(#PB_Any,height,height)
Else
temp=CreateImage(#PB_Any,width,width)
EndIf
Dim rect.Point(2)
rect(0)\x=height ...