ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: drag window to edge automatically resizes it

<< < (85/146) > >>

Armando:
Edit: Is there a GridMove grid-making tutorial? If not I'm thinking of making one.
-Tyinsar (December 26, 2007, 10:21 PM)
--- End quote ---

That would be very cool, Tyinsar!  :)

jgpaiva:
Edit: Is there a GridMove grid-making tutorial? If not I'm thinking of making one.
-Tyinsar (December 26, 2007, 10:21 PM)
--- End quote ---
I somehow missed that part..
Nope, there's none. But it sure would be great to have one! (specially since the atempt at a gridmaker i made went very wrong)

Tyinsar:
Tutorial started here: https://www.donationcoder.com/forum/index.php?topic=11534.0

Please note that this is just a start but I thought I'd post what I had (so far) to get some feedback from you.

jgpaiva:
You could try basing it on the window's style.

--- ---WinGet winStyle, Style, A
if (winStyle & 0x40000) { ;0x40000 = WS_SIZEBOX = WS_THICKFRAME
   ;code to resize
}-TheQwerty (November 12, 2007, 08:31 AM)
--- End quote ---
Looks like that works beautifuly!

I'll add it right away, as a "safe mode" ;)

jgpaiva:
Ok, done.. And updated.
I also fixed another bug that could make the left drag method stop working after being used in a window that was one of the exceptions (like winamp). <- this ****** was bugging me for QUITE a while now.. I'm glad it's gone ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version