home *** CD-ROM | disk | FTP | other *** search
Ami Pro/Word Pro document | 1994-08-14 | 13.3 KB | 377 lines |
- [ver]
- [sty]
- [files]
- [charset]
- ANSI (Windows, IBM CP 1252)
- [revisions]
- [prn]
- QMS-PS 810
- [port]
- LPT1:
- [lang]
- [desc]
- Windows API defines. Use the INCLUDE powerfield to embed these defines in a macro.
- 708292257
- 707778929
- Example:<*-><**>Include "WinApi.sam"
- [fopts]
- [lnopts]
- Body Text
- [docopts]
- [GramStyle]
- [ParaNum]
- [tag]
- Body Text
- [fnt]
- Arial
- 160
- 16384
- [algn]
- [spc]
- 273
- 100
- [brk]
- [line]
- [spec]
- [nfmt]
- 280
- Body Text
- [tag]
- Body Single
- [fnt]
- Times New Roman
- 240
- 49152
- [algn]
- [spc]
- 273
- 100
- [brk]
- [line]
- [spec]
- [nfmt]
- 280
- Body Single
- [tag]
- Bullet
- [fnt]
- Times New Roman
- 240
- 49152
- [algn]
- 288
- 288
- [spc]
- 273
- 100
- [brk]
- [line]
- [spec]
- <*0>
- 360
- [nfmt]
- 272
- Bullet
- [tag]
- Bullet 1
- [fnt]
- Times New Roman
- 240
- 49152
- [algn]
- 288
- 288
- 288
- [spc]
- 273
- 100
- [brk]
- [line]
- [spec]
- <*5>
- [nfmt]
- 280
- Bullet 1
- [tag]
- Number List
- [fnt]
- Times New Roman
- 240
- 49152
- [algn]
- 360
- 360
- 360
- [spc]
- 273
- 100
- [brk]
- [line]
- [spec]
- <*:>.
- 360
- [nfmt]
- 272
- Number List
- [tag]
- Subhead
- [fnt]
- Times New Roman
- 200
- 49152
- [algn]
- [spc]
- 273
- 100
- [brk]
- [line]
- [spec]
- [nfmt]
- 272
- Subhead
- [tag]
- Title
- [fnt]
- Arial
- 360
- 16385
- [algn]
- [spc]
- 446
- 144
- 100
- [brk]
- [line]
- [spec]
- [nfmt]
- 272
- Title
- [tag]
- Header
- [fnt]
- Times New Roman
- 240
- 49152
- [algn]
- [spc]
- 273
- 100
- [brk]
- [line]
- [spec]
- [nfmt]
- 280
- Header
- [tag]
- Footer
- [fnt]
- Times New Roman
- 240
- 49152
- [algn]
- [spc]
- 273
- 100
- [brk]
- [line]
- [spec]
- [nfmt]
- 280
- Footer
- [lay]
- Standard
- [rght]
- 15840
- 12240
- 720
- 720
- 720
- 720
- 720
- 11520
- 720
- 1440
- 2160
- 2880
- 3600
- 4320
- 5040
- 5760
- 6480
- 7200
- 7920
- 8640
- [hrght]
- [lyfrm]
- 11200
- 12240
- 720
- 1 0 0 0 0 0 0
- [frmlay]
- 720
- 12240
- 1440
- 576
- 1440
- 1440
- 10800
- 4680
- 9360
- [txt]
- [frght]
- [lyfrm]
- 13248
- 15120
- 12240
- 15840
- 1 0 0 0 0 0 0
- [frmlay]
- 15840
- 12240
- 1440
- 576
- 15192
- 1440
- 1440
- 10800
- 4680
- 9360
- [txt]
- [elay]
- 75 0 5 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
- 131 0 0 1025 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
- [edoc]
- @Subhead@<:#240,10800>'User Defines
- <:#187,10800>
- <:#187,10800>Define AddLine(hWnd, stuff) DllCall("outdll,AddLine,HHC", %1, %2)
- <:#187,10800>Define AddMacroCall(hwnd, macro, cmd) DllCall("outdll,AddMacroCall,HHCH", %1, %2, %3)
- <:#187,10800>DEFINE BinEscape() DllCall("gdi.exe,Escape,HHHHNC",%1,8,2,%2,"")
- <:#187,10800>Define ClientToScreen(hwnd, lppoint) dllcall("user,ClientToScreen,HHN", %1, %2)
- <:#374,10800>Define CreateFont() DllCall("gdi,CreateFont,HHHHHHHHHHHHHHC", %1, %2, %3, %4, %5, %6, %7, %8, %9, %10, %11, %12, %13, %14)
- <:#187,10800>DEFINE CreateIC() DllCall("gdi.exe,CreateIC,HCCCC",%1,%2,%3,%4)
- <:#187,10800>DEFINE DeleteDC() DllCall("gdi.exe,DeleteDC,HH",%1)
- <:#187,10800>Define DeleteObject(handle) DllCall("gdi,DeleteObject,HH", %1)
- <:#187,10800>Define DestroyWindow(hwnd) DllCall("user,DestroyWindow,HH", %1)
- <:#187,10800>Define EnableHardwareInput() dllcall("user,EnableHardwareInput,AA", %1)
- @Outline3@<:#187,10800>define EnableWindow(hWnd, stuff) DllCall("user,enableWindow,HHH", %1, %2)
- <:#187,10800>Define FindWindow() DllCall("user,FindWindow,HCC", %1, %2)
- <:#187,10800>Define GetActiveWindow() DllCall("user,GetActiveWindow,H")
- <:#187,10800>Define getcaretpos() dllcall("user,getcaretpos,HN", %1)
- <:#187,10800>Define GetClassName(hwnd, name, len) dllcall("user,GetClassName,HHCH", %1, %2, %3)
- <:#187,10800>Define GetClientRect(hWnd, lpRect) dllcall("user,GetClientRect,HHN", %1, %2)
- <:#187,10800>Define GetCurrentTask() DllCall("kernel,GetCurrentTask,H")
- <:#187,10800>Define getcursorpos() dllcall("user,getcursorpos,HN", %1)
- <:#187,10800>Define GetDC(hWnd) DllCall("user,GetDC,HH", %1)
- <:#187,10800>Define GetDeskTopWindow() DllCall("User,GetDeskTopWindow,H")
- <:#187,10800>Define GetDlgCtrlId() DllCall("User,GetDlgCtrlId,HH",%1)
- <:#187,10800>Define Getfocus() DllCall("user,GetFocus,H")
- <+@><:#187,10800>Define GetKeyBoardState(lpstate) dllcall("user,GetKeyBoardState,HN", %1)
- @Outline3@<:#187,10800>define GetMenu(HWND) DllCall("user,GetMenu,HH", %1)
- @Outline3@<:#187,10800>define GetMenuItemCount(HMENU) DllCall("user,GetMenuItemCount,HH", %1)
- @Outline3@<:#187,10800>define GetMenuItemID(HMENU, int) DllCall("user,GetMenuItemID,LHH", %1, %2)
- @Outline3@<:#187,10800>define GetMenuString(HMENU, WORD, LPSTR, int, WORD) DllCall("user,GetMenuString,HHHFHH", %1, %2, %3, %4, %5)
- <:#187,10800>Define GetModuleHandle(name) DllCall("kernel,GetModuleHandle,HC", %1)
- @Outline3@<:#187,10800>define GetParent(hWnd) DllCall("user,GetParent,HH", %1)
- <:#187,10800>DEFINE GetSetBins() DllCall("gdi.exe,Escape,HHHHCN",%1,29,4,"",%2)
- @Outline3@<:#187,10800>define GetSubMenu(HMENU, int) DllCall("user,GetSubMenu,HHH", %1, %2)
- <:#187,10800>Define getsystemmetrics() dllcall("user,getsystemmetrics,HH", %1)
- <:#187,10800>DEFINE GetTechnology() DllCall("gdi.exe,Escape,HHHHCC",%1,20,0,0,%2)
- <:#187,10800>Define GetVersion() DllCall("kernel,GetVersion,H")
- @Outline3@<:#187,10800>define Getvideomode(p1) DllCall("user,GetSystemMetrics,HH",%1)
- <:#187,10800>Define GetWindow(hwnd, cmd) dllcall("user,GetWindow,HHH", %1, %2)
- <:#187,10800>Define GetWindowOrg(hdc) DllCall("gdi,GetWindowOrg,HH", %1)
- <:#187,10800>Define GetWindowSize() DllCall("user,GetWindowRect,HHN",%1,%2)
- @Outline3@<:#187,10800>define GlobalAddAtom(lp) DllCall("user,GlobalAddAtom,HC", %1)
- @Outline3@<:#187,10800>define HiliteMenuItem(HWND, HMENU, WORD, WORD) DllCall("user,HiliteMenuItem,AHHLL", %1, %2, %3, %4)
- @Outline3@<:#187,10800>define IconConfig(hwnd, ini) DllCall("outdll,IconConfig,HHC", %1, %2)
- @Outline3@<:#187,10800>define IconOff(hwnd) DllCall("outdll,IconOff,HH", %1)
- @Outline3@<:#187,10800>define IconOn(hwnd, ini, ega, vga, 8514, pos) DllCall("outdll,IconOn,HHCCCCHC", %1, %2, %3, %4, %5, %6, %7)
- <:#187,10800>Define InvalidateRect(hwnd, stuff, H) DllCall("user,InvalidateRect,HHFH", %1, %2, %3)
- @Outline3@<:#187,10800>define IsIconic(hWnd) DllCall("user,IsIconic,HH", %1)
- <:#187,10800>define LBGetText(hwnd,Id,Ptr) dllcall("user,sendmessage,HHHHC", %1, LB_GETTEXT, %2, %3)
- <:#187,10800>Define LPtoDP() dllcall("gdi,LPtoDP,HHNH", %1, %2, %3)
- <:#187,10800>Define MoveWindow() DllCall("User,MoveWindow,HHHHHHA",%1,%2,%3,%4,%5,%6)
- <:#187,10800>DEFINE NumBins() DllCall("gdi.exe,Escape,HHHHNN",%1,31,%2,%3,%4)
- <:#187,10800>Define PickFont(hwnd, face, size) DllCall("outdll,PickFont,HHCH", %1, %2, %3)
- <:#187,10800>Define PostMessage(hwnd, message, wparam, lparao) dllcall("user,PostMessage,JHHHJ", %1, %2, %3, %4)
- <:#187,10800>Define ReleaseCapture(hWnd) DllCall("user,ReleaseCapture,H")
- <:#187,10800>Define ReleaseDC(hWnd, hcc) DllCall("user,ReleaseDC,HHH", %1, %2)
- @Outline3@<:#187,10800>define RepaintIt(hwnd) InvalidateRect(%1, 0, 1)
- <:#187,10800>Define ScreenToClient(hWnd, lpPoint) dllcall("user,screentoclient,HHN", %1, %2)
- <:#187,10800>Define SendMessage(hwnd, message, wparam, lparao) dllcall("user,SendMessage,JHHHJ", %1, %2, %3, %4)
- @Outline3@<:#187,10800>define SetBkColor(hdc, color) DllCall("gdi,SetBkColor,HHJ", %1, %2)
- <:#187,10800>Define SetBkMode(hdc, nmode) DllCall("gdi,SetBkMode,HHH", %1, %2)
- <:#187,10800>Define SetCallBackKey(hwnd, key, event) DllCall("outdll,SetCallBackKey,HHHH", %1, %2, %3)
- <:#187,10800>Define SetCapture(hWnd) DllCall("user,SetCapture,HH", %1)
- <:#187,10800>Define SetCursorPos(x, y) dllcall("user,SetCursorPos,HHH", %1, %2)
- <:#187,10800>Define SetDeskWallPaper() DllCall("user,SetDeskWallPaper,HC",%1)
- @Outline3@<:#187,10800>define SetFocus(hWnd) DllCall("user,SetFocus,HH",%1)
- <+@><:#187,10800>Define SetKeyBoardState(lpstate) dllcall("user,SetKeyBoardState,HN", %1)
- <:#187,10800>Define SetTextColor(hdc, color) DllCall("gdi,SetTextColor,HHJ", %1, %2)
- @Outline3@<:#187,10800>define SetWallPaper(hwnd, fname) DllCall("outdll,SetWallPaper,HHC", %1, %2)
- <:#187,10800>Define SetWindowText(hwnd,text) DllCall("User,SetWindowText,HHC",%1,%2)
- <:#187,10800>Define showcursor() dllcall("user,showcursor,HA", %1)
- <:#187,10800>Define ShowWindow(hWnd, stuff) DllCall("user,ShowWindow,HHH", %1, %2)
- <:#187,10800>Define Speak() DllCall("mmsystem,SndPlaySound,IICI", "WavPlaySoundFile", %1, 1)
- @Outline3@<:#187,10800>define TitleBarMsg() SetWindowText(GetActiveWindow(), %1)
- @Outline3@<:#187,10800>define WinHelp(hWnd, file, cmd, ptr) DllCall("user,WinHelp,HHCHJ", %1, %2, %3, %4)
- @Outline2@<:p<* >>
- @Outline2@<:#187,10800>
- @Outline3@<:#187,10800>define ADD_LINE 100
- <:#187,10800>Define ADD_PARA 101
- <:#187,10800>Define ALIGN_CEN 3
- <:#187,10800>Define ALIGN_JUST 2
- <:#187,10800>Define ALIGN_LEFT 1
- <:#187,10800>Define ALIGN_RIGHT 4
- <:#187,10800>Define ALIGNMENT 110
- <:#187,10800>Define BOT_MARG 107
- <:#187,10800>DEFINE CB_GetCurSel 0x407
- <:#187,10800>Define CB_SetCurSel 1038
- @Outline3@<:#187,10800>define COMMIT 102
- <:#187,10800>Define DM_SETDEFID 1025
- <:#187,10800>Define EB_Width 8001
- <:#187,10800>Define EM_CANUNDO 1046
- <:#187,10800>Define EM_LimitText 1045
- <:#187,10800>Define EV_EXIT 2
- <:#187,10800>Define EV_LEFTCLK 0
- <:#187,10800>Define EV_RIGHTCLK 1
- <:#187,10800>Define GW_CHILD 5
- <:#187,10800>Define GW_HWNDNEXT 2
- <:#187,10800>Define HELP_CONTEXT 0x0001
- @Outline2@<:#187,10800>define LB_DELETESTRING 1027
- @Outline2@<:#187,10800>define LB_GETCOUNT 1036
- @Outline2@<:#187,10800>Define LB_GETCURSEL 1033
- <:#187,10800>DEFINE LB_GetSel 0x408
- @Outline2@<:#187,10800>define LB_GETTEXT 1034
- <:#187,10800>define LB_INSERTSTRING 1026
- <:#187,10800>DEFINE LB_ResetContent 0x405
- @Outline2@<:#187,10800>define LB_SETCURSEL 1031
- @Outline2@<:#187,10800>Define LB_SetTopIndex 1048
- <:#187,10800>Define LEFT_MARG 106
- @Outline3@<:#187,10800>define MF_BYPOSITION 0x0400
- @Outline3@<:#187,10800>define MF_HILITE 0x0080
- <:#187,10800>Define MOVE_WIN 103
- <:#187,10800>Define RB_Text 20
- @Outline3@<:#187,10800>define RIGHT_MARG 108
- <:#187,10800>Define SetDefID() AppSendMessage(hdlg,DM_SETDEFID,%1,0)
- <:#187,10800>Define SIZE_WIN 104
- <:#187,10800>Define TOP_MARG 105
- <:#187,10800>define VK_DOWN 40
- <:#187,10800>define VK_F1 112
- <:#187,10800>define VK_Next 34 ' page down virtual key
- <:#187,10800>define VK_Prior 33 ' page up
- <:#187,10800>define VK_UP 38
- @Outline3@<:#187,10800>define WALLPAPER 109
- <:#187,10800>Define WM_CLOSE 0x010
- <:#187,10800>Define WM_COMMAND 0x111
- <:#187,10800>Define WM_LBUTTONDOWN 0x0201
- <:#187,10800>Define WM_LBUTTONUP 0x0202
- <:#187,10800>Define WM_RBUTTONDOWN 0x0204
- <:#187,10800>Define WM_RBUTTONUP 0x0205
- <:#187,10800>Define WM_SETCURSEL 0x407
- <:#187,10800>Define WM_SETFONT 0x30
- <:#187,10800>
- @Outline3@<:#187,10800>
- [Embedded]
- 00013635
-