HSP¥Ý¡¼¥¿¥ë
¥µ¥¤¥È¥Þ¥Ã¥× ¤ªÌ䤤¹ç¤ï¤»


HSPTV!·Ç¼¨ÈÄ


̤²ò·è ²ò·è Ää»ß ºï½üÍ×ÀÁ

2011
1013
GetName()¥¦¥£¥ó¥É¥¦¤ÎȾƩÌÀ²½¤Ë¤Ä¤¤¤Æ4²ò·è


GetName()

¥ê¥ó¥¯

2011/10/13(Thu) 16:05:03|NO.42335

¥¦¥£¥ó¥É¥¦¤ÎÆ©ÌÀ²½¤Ë´Ø¤¹¤ë¼ÁÌä¤Ç¤¹
SetLayeredWindowAttributes´Ø¿ô¤òÍѤ¤¤ë¤È
¥¢¥¯¥·¥ç¥ó¥Õ¥é¥°¤Ë¤è¤Ã¤Æ

¡¦¥¦¥£¥ó¥É¥¦Á´ÂΤÎȾƩÌÀ²½
¡¦»ØÄ꿧¤Î´°Á´Æ©ÌÀ²½

¤Ï²Äǽ¤Ç¤¹¡£º£²ó¼ÁÌ䤷¤¿¤¤¤³¤È¤Ï

¡¦ÇطʤΤßȾƩÌÀ²½

¤Ï²Äǽ¤«¡¢²Äǽ¤Ê¤é¤Ð¤É¤Î¤è¤¦¤Ë¹Ô¤¨¤Ð¤è¤¤¤Î¤«¡¡¤È¤¤¤¦¤³¤È¤Ç¤¹¡£

¥¦¥£¥ó¥É¥¦¤ÎȾƩÌÀ²½¤ò¤·¤Æ¤·¤Þ¤¦¤È¡¢È¾Æ©ÌÀ¤Ë¤·¤¿¤¯¤Ê¤¤¤â¤Î
¡Ê¥Ü¥¿¥ó¤Ê¤É¤Î¥³¥ó¥È¥í¡¼¥ë¡¢mesÌ¿Îá¤Ê¤É¤Çɽ¼¨¤·¤¿Ê¸»úÎóÅù¡Ë
¤Þ¤ÇȾƩÌÀ²½¤µ¤ì¤Æ¤·¤Þ¤¦¤¿¤á¸«¤Å¤é¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¦¤Î¤Ç¤¹¡£

¼«Ê¬¤Ç¹Í¤¨¤¿ÊýË¡¤È¤·¤Æ¤Ï
­¡ÇطʤȤʤëÏÈ̵¤·¥¦¥£¥ó¥É¥¦¡Ê¥¦¥£¥ó¥É¥¦A)¤òÍÑ°Õ¤·¡¢È¾Æ©ÌÀ²½¤¹¤ë
­¢¥¦¥£¥ó¥É¥¦A¤Ë¤Ô¤Ã¤¿¤ê½Å¤Ê¤ë¤è¤¦¤Ë¥¦¥£¥ó¥É¥¦B¤ò¤Ä¤¯¤ë
­£¥¦¥£¥ó¥É¥¦B¤ÎÇطʤòñ¿§¤ÇÅɤê¤Ä¤Ö¤·¡¢¤½¤Î¿§¤ò´°Á´¤ËÆ©ÌÀ¤Ë¤¹¤ë¡£

¤³¤ÎÊýË¡¤À¤È³Î¤«¤ËÇطʤΤßȾƩÌÀ¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¤¬
¡¦¥¦¥£¥ó¥É¥¦¤Î°ÜÆ°½èÍý
¡¦¥¦¥£¥ó¥É¥¦A¤È¥¦¥£¥ó¥É¥¦B¤ÎÁ°¸å´Ø·¸¡¢¤É¤Á¤é¤ò¼êÁ°¤Ëɽ¼¨¤¹¤ë¤«¡¡¤Î½èÍý
¤Ê¤É¡¢ÌÌÅݤÊÅÀ¤¬¿ô¿¤¯½Ð¤Æ¤­¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£

ñ¿§¤ò´°Á´¤ËÆ©ÌÀ¤Ë¤·¤¿¥¦¥£¥ó¥É¥¦¤ÎÃæ¤Ë
ȾƩÌÀ²½¤·¤¿¥Ñ¥Í¥ë¤òÇطʤȤ·¤Æɽ¼¨¤·¡¢¤½¤Î¾å¤ËÄ̾ï¤Î¥Ü¥¿¥ó¤Ê¤É¤òÇÛÃÖ¤¹¤ë¤³¤È¤ò
¹Í¤¨¤Þ¤·¤¿¤¬¡¢¥Ñ¥Í¥ë¤ÎÀßÃÖÊýË¡¤Ê¤É¤¬¸¡º÷¤·¤Æ¤âʬ¤«¤é¤Ê¤«¤Ã¤¿¤¿¤á¤³¤³¤Ç¼ÁÌ䤵¤»¤Æ¤¤¤¿¤À¤­¤Þ¤¹

²¿¤«Îɤ¤ÊýË¡¤Ê¤É¤¢¤ê¤Þ¤·¤¿¤é¤ª¶µ¤¨¤¯¤À¤µ¤¤¡£
°ì±þ°Ê²¼¤Ë¼«Ê¬¤Îºî¤Ã¤¿¤â¤Î¤òÄ¥¤Ã¤Æ¤ª¤­¤Þ¤¹


//´Ø¿ô¤ÎÅÐÏ¿ #uselib "user32.dll" #func GetWindowLongA "GetWindowLongA" int , int #func SetWindowLongA "SetWindowLongA" int , int , int #func SetLayeredWindowAttributes "SetLayeredWindowAttributes" int , int , int , int #func SendMessageA "SendMessageA" int , int , int , int #func PostMessageA "PostMessageA" int , int , int , int //¥¦¥£¥ó¥É¥¦½é´ü²½ //ÇØ·Ê¥¦¥£¥ó¥É¥¦ bgscr 0, 700, 100, , 100, 100 : hwnd1 = hwnd cls 4 color 255, 255, 255 pos 10, 10 : button goto "½ªÎ»¤¹¤ë", *LAST pos 80, 10 : mes "¢«Ä̾ï¤Ï¤³¤Î¤è¤¦¤ËÉÁ²è¤·¤¿Ê¸»ú¤ä¥ª¥Ö¥¸¥§¥¯¥È¤Þ¤ÇȾƩÌÀ¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹" //¥³¥ó¥Ý¡¼¥Í¥ó¥È¥¦¥£¥ó¥É¥¦ bgscr 1, 700, 100, , 100, 100 : hwnd2 = hwnd color 0, 0, 255 : boxf color 255, 255, 255 pos 10, 40 : button goto "½ªÎ»¤¹¤ë", *LAST pos 80, 40 : mes "¢«¼êÁ°¤Ë¤â¤¦°ì¤Ä¥¦¥£¥ó¥É¥¦¤òºî¤ë¤³¤È¤Ç¾åµ­¤ÎÌäÂê¤ò²óÈò¤·¤Æ¤¤¤Þ¤¹\n¡¡¥¦¥£¥ó¥É¥¦¤Î°ÜÆ°¤ò¤¹¤ë¤Èɽ¼¨¤¬¤ª¤«¤·¤¯¤Ê¤ê¤Þ¤¹" //¥¹¥¿¥¤¥ë¤ÎÄɲà GetWindowLongA hwnd1 , -20 SetWindowLongA hwnd1 , -20 , stat | 0x00080000 GetWindowLongA hwnd2 , -20 SetWindowLongA hwnd2 , -20 , stat | 0x00080000 //ȾƩÌÀ SetLayeredWindowAttributes hwnd1, 0x000000, 128, 2 //ÀÄ¿§(0x0000FF)¤ò´°Á´¤ËÆ©ÌÀ¤Ë SetLayeredWindowAttributes hwnd2, 0xFF0000, 255, 1 //WM¤Î½èÍý gsel 0 oncmd gosub *WM_LBUTTONDOWN , 0x0201 gsel 1 oncmd gosub *WM_LBUTTONDOWN , 0x0201 stop //º¸¥¯¥ê¥Ã¥¯¤·¤¿»þ¥¦¥£¥ó¥É¥¦°ÜÆ° //¥¦¥£¥ó¥É¥¦1¤È¥¦¥£¥ó¥É¥¦2¤Î°ÌÃÖ¤¬¤º¤ì¤ë¤¿¤áɽ¼¨¤¬¤ª¤«¤·¤¯¤Ê¤ë *WM_LBUTTONDOWN PostMessageA hwnd1, 0x0000A1, 0x0002, lparam PostMessageA hwnd2, 0x0000A1, 0x0002, lparam return //½ªÎ»½èÍý *LAST end



¤³¤Îµ­»ö¤ËÊÖ¿®¤¹¤ë


pizza

¥ê¥ó¥¯

2011/10/13(Thu) 16:21:34|NO.42336

SetParent hwnd1, hwnd2
¤ÇŽ¤êÉÕ¤±¤Æ
PostMessageA hwnd1, 0x0000A1, 0x0002, lparam
¤ò¥³¥á¥ó¥È¥¢¥¦¥È¤¹¤ë¤È¤¤¤¤¤«¤â¡£



pizza

¥ê¥ó¥¯

2011/10/13(Thu) 16:28:55|NO.42337

¤¤¤ä¡¢¤³¤ì¤¸¤ãȾƩÌÀ¤¸¤ã¤Ê¤¤¤Ç¤¹¤Í¡¦¡¦¡¦¡£



pizza

¥ê¥ó¥¯

2011/10/13(Thu) 16:55:08|NO.42338

¼êÁ°¤Î¥¦¥£¥ó¥É¥¦¤ÎWM_MOVING¤ò½èÍý¤·¤ÆÇØ·ÊÍÑ¥¦¥£¥ó¥É¥¦¤òÆ°¤«¤¹¤Î¤Ï¤À¤á¤Ç¤¹¤«¡©


#define WM_MOVING 0x0216 #define SWP_NOSIZE 0x0001 #define SWP_NOZORDER 0x0004 #define SWP_NOACTIVATE 0x0010 gsel 1 oncmd gosub *lb_OnMoving, WM_MOVING *lb_OnMoving dupptr rc, lparam, 16 SetWindowPos hwnd1, 0, rc.0, rc.1, 0, 0, SWP_NOACTIVATE|SWP_NOZORDER|SWP_NOSIZE return



GetName()

¥ê¥ó¥¯

2011/10/13(Thu) 17:05:01|NO.42339

SWP_NOACTIVATE
SWP_NOZORDER
SWP_NOSIZE

¤Ê¤ë¤Û¤É¡¦¡¦¤³¤ó¤Ê¥ª¥×¥·¥ç¥ó¤¬¤¢¤Ã¤¿¤È¤Ï¡¦¡¦¡¦
½ÐÍè¤Þ¤·¤¿¡ª¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿!!


//´Ø¿ô¤ÎÅÐÏ¿ #uselib "user32.dll" #func GetWindowLongA "GetWindowLongA" int , int #func SetWindowLongA "SetWindowLongA" int , int , int #func SetLayeredWindowAttributes "SetLayeredWindowAttributes" int , int , int , int #func SendMessageA "SendMessageA" int , int , int , int #func PostMessageA "PostMessageA" int , int , int , int #func SetWindowPos "SetWindowPos" int, int, int, int, int, int, int #define WM_LBUTTONDOWN 0x0201 #define WM_MOVING 0x0216 #define SWP_NOSIZE 0x0001 #define SWP_NOZORDER 0x0004 #define SWP_NOACTIVATE 0x0010 //ÇØ·Ê¥¦¥£¥ó¥É¥¦ bgscr 0, 700, 100, , 100, 100 : hwnd1 = hwnd cls 4 color 255, 255, 255 //¥³¥ó¥Ý¡¼¥Í¥ó¥È¥¦¥£¥ó¥É¥¦ bgscr 1, 700, 100, , 100, 100 : hwnd2 = hwnd color 0, 0, 255 : boxf color 255, 255, 255 pos 10, 40 : button goto "½ªÎ»¤¹¤ë", *LAST pos 80, 40 : mes "¤Ç¤­¤Þ¤·¤¿! ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿" //¥¹¥¿¥¤¥ë¤ÎÄɲà GetWindowLongA hwnd1 , -20 SetWindowLongA hwnd1 , -20 , stat | 0x00080000 GetWindowLongA hwnd2 , -20 SetWindowLongA hwnd2 , -20 , stat | 0x00080000 //ȾƩÌÀ SetLayeredWindowAttributes hwnd1, 0x000000, 128, 2 //ÀÄ¿§(0x0000FF)¤ò´°Á´¤ËÆ©ÌÀ¤Ë SetLayeredWindowAttributes hwnd2, 0xFF0000, 255, 1 //WM¤Î½èÍý gsel 1 oncmd gosub *LBUTTONDOWN , WM_LBUTTONDOWN oncmd gosub *MOVING, WM_MOVING stop *MOVING dupptr rc, lparam, 16 SetWindowPos hwnd1, 0, rc.0, rc.1, 0, 0, SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOSIZE return *LBUTTONDOWN PostMessageA hwnd2, 0x0000A1, 0x0002, lparam return *LAST end



ONION software Copyright 1997-2023(c) All rights reserved.