¥á¥Ë¥å¡¼¥Ð¡¼¤Ç¤ÎÁàºî´ØÏ¢¤Î»ö¤Ç¤ï¤«¤é¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
¥½¡¼¥¹¤ò³«¤¯¤È¥á¥Ë¥å¡¼¥Ð¡¼¤¬ÍÑ°Õ¤µ¤ì¤Æ¤Æ¡¢¤½¤³¤Ë¤Ï¡Ö¥á¥Ë¥å¡¼¡×¤È¡ÖGoogle¡×
¤¬¤¢¤ê¤Þ¤¹¡£
¥á¥Ë¥å¡¼¤ò²¡¤¹¤È½ªÎ»¥¿¥Ö¤¬³«¤¤¤Æ¤½¤³¤ò²¡¤»¤Ð½ªÎ»¤·¤Þ¤¹¡£
Google¤ò²¡¤¹¤Èexec¤ÇGoogle¤¬³«¤¯¤è¤¦¤Ë»ØÄꤷ¤Æ¤¤¤Þ¤¹¡£
¤Ç¤¹¤¬Google¤ò²¡¤·¤Æ¤âIE¤¬³«¤¤Þ¤»¤ó¡£¡£¡£
Google¤ò²¡¤»¤ÐGoogle¤ËÈô¤Ö¤è¤¦¤Ê¥½¡¼¥¹¤ò¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£
¤½¤ì¤È¥á¥Ë¥å¡¼¤ò²¡¤·¤¿¤é½ªÎ»¥¿¥Ö¤ÈƱ»þ¤Ë¥á¥Ã¥»¡¼¥¸¥¿¥Ö¤¬¤¢¤ê¤Þ¤¹¡£
¥á¥Ã¥»¡¼¥¸¥¿¥Ö¤ò²¡¤¹¤È¤Ê¤Ë¤«¥á¥Ã¥»¡¼¥¸¤¬½Ð¤ë¤è¤¦¤Ê¥½¡¼¥¹¤â¤´¶µ¼ø¤ª´ê¤¤¤·¤Þ¤¹¡ä¡ã
/////////////¥½¡¼¥¹//////////////////
#include "user32.as"
#define ctype LOWORD(%1) (%1 & $FFFF)
; ¹àÌÜID
#enum IDM_KOUMOKU1
#enum IDM_KOUMOKU2
; WM_COMMAND¥á¥Ã¥»¡¼¥¸
oncmd gosub *Menu_bar, $111
CreatePopupMenu
hMenu.1=stat
AppendMenu hMenu.1,0,IDM_EXIT,"½ªÎ»"
AppendMenu hMenu.1,0,IDM_EXIT,"¥á¥Ã¥»¡¼¥¸"
; <¥á¥¤¥ó¤Î¥á¥Ë¥å¡¼¥Ð¡¼>
CreateMenu
hMenu.0=stat
AppendMenu hMenu.0,$10,hMenu.1,"¥á¥Ë¥å¡¼"
GetSystemMetrics 15 :hh = stat ; ¡ÄÉ¡¡²Ã
bgscr 0,320,hh,,0,0 :cls 2 ; ¢ÊÑ¡¡¹¹
ww =hwnd ; £ÄÉ¡¡²Ã
SetMenu hwnd,hMenu.0 ; ¤¹Ô°ÜÆ°
DrawMenuBar hwnd ; ¥¹Ô°ÜÆ°
bgscr 1,320,240 ; ¦ÄÉ¡¡²Ã
Setparent ww,hwnd ; §ÄÉ¡¡²Ã
color:boxf 0,hh,320,hh+20 ; ¨ÊÑ¡¡¹¹
onclick gosub *move
//////////////////////////////////////////////////////////
; <Google¤ò³«¤¯>
CreateMenu
hMenu.1=stat
AppendMenu hMenu.0,$10,hMenu.1,"Google"
GetSystemMetrics 15 :hh = stat ; ¡ÄÉ¡¡²Ã
bgscr 0,320,hh,,0,0 :cls 2 ; ¢ÊÑ¡¡¹¹
ww =hwnd ; £ÄÉ¡¡²Ã
SetMenu hwnd,hMenu.1 ; ¤¹Ô°ÜÆ°
DrawMenuBar hwnd ; ¥¹Ô°ÜÆ°
bgscr 1,320,240 ; ¦ÄÉ¡¡²Ã
Setparent ww,hwnd ; §ÄÉ¡¡²Ã
color:boxf 0,hh,320,hh+20 ; ¨ÊÑ¡¡¹¹
onclick gosub *HP
stop
*move
if mousey <hh+20:if wparam=1:sendmsg hwnd,$00A1,2,0
return
*Menu_bar
end
///*HP
if mousey <hh+20:if wparam=1:sendmsg hwnd,$00A1,2,0
return
*HP
if mousey <hh+20:if wparam=1:sendmsg hwnd,$00A1,2,0
return
*Menu_bar1
end