Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tiny window
#1
Hi Gindi,

I am periodically pasting a bitmap into a Word Pad file that I keep on top of all other windows. I've made it small to it doesn't take up too much space, but I'd like to reduce it to just the window frame if possible (or use some sort of QM launched minimal window that I can paste into). Can you help or point me in the right direction? Thanks.

-Jimbog
#2
If cannot resize with siz, use SetWindowPos with SWP_NOSENDCHANGING flag.

Macro
Code:
Copy      Help
int w1=win("Document - WordPad" "WordPadClass")
;siz 10 100 w1
SetWindowPos w1 0 0 0 4 200 SWP_NOMOVE|SWP_NOACTIVATE|SWP_NOSENDCHANGING


Forum Jump:


Users browsing this thread: 1 Guest(s)