.data
ListBox db 'LISTBOX',0
Edit 	db 'Edit',0
Static 	db 'Static',0
Button 	db 'Button',0
b31 db '31',0
b30 db '30',0
b29 db '29',0
b28 db '28',0
b27 db '27',0
b26 db '26',0
b25 db '25',0
b24 db '24',0
b23 db '23',0
b22 db '22',0
b21 db '21',0
b20 db '20',0
b19 db '19',0
b18 db '18',0
b17 db '17',0
b16 db '16',0
b15 db '15',0
b14 db '14',0
b13 db '13',0
b12 db '12',0
b11 db '11',0
b10 db '10',0
b09 db '09',0
b08 db '08',0
b07 db '07',0
b06 db '06',0
b05 db '05',0
b04 db '04',0
b03 db '03',0
b02 db '02',0
b01 db '01',0
b00 db '00',0
lf LOGFONT <4294967285,0,0,0,400,0,0,0,204,1,2,1,34,"MS Sans Serif">
lf2 LOGFONT <4294967285,0,0,0,700,0,0,0,0,3,2,1,18,"Times New Roman">
lf3 LOGFONT <4294967283,0,0,0,400,0,0,0,0,3,2,1,34,"Tahoma">
lf4 LOGFONT <4294967283,0,0,0,700,0,1,0,204,3,2,1,18,"Times New Roman">





.code
invoke CreateFontIndirect,offset lf4
.data?
hlf3	dd ?
.code
	mov hlf3,eax

invoke CreateFontIndirect,offset lf
mov esi,eax
mov edi,hWnd
invoke CreateWindowEx,516,addr ListBox, 0,1344278851 or LBS_WANTKEYBOARDINPUT ,7,25,172,197,edi,10,hInstance,0
	mov hLbClasses,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke  SetWindowContextHelpId,hLbClasses,10
invoke CreateWindowEx,516,addr ListBox, 0,1344278851 or LBS_WANTKEYBOARDINPUT,180,25,172,197,edi,11,hInstance,0
	mov hLbChoosen,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke  SetWindowContextHelpId,hLbChoosen,11
invoke CreateWindowEx,516,addr Edit, 0,ES_MULTILINE or ES_AUTOVSCROLL or ES_AUTOHSCROLL\
	or WS_VSCROLL or WS_VISIBLE or WS_CHILD or ES_READONLY,
	7,282,521,151,edi,12,hInstance,0
	mov hEdit,eax
invoke CreateFontIndirect,offset lf3
	push esi
	mov esi,eax
invoke SendMessage,hEdit,WM_SETFONT,eax,1
invoke  SetWindowContextHelpId,hEdit,12
invoke CreateWindowEx,516,addr Edit, addr LbClassName,1342242816,383,43,125,24,hWnd,100,hInstance,0
	mov hClassName,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke  SetWindowContextHelpId,hClassName,100
	pop esi
invoke CreateWindowEx,4 or WS_EX_TRANSPARENT,addr Static, addr lblClassName,1342308352,383,23,100,18,hWnd,65535,hInstance,0
	mov hCapClassName,eax
	invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,0,addr ListBox,0,LBS_OWNERDRAWFIXED or LBS_NOTIFY\
	 or LBS_HASSTRINGS or WS_CHILD or WS_VISIBLE or WS_BORDER,
	530,4,130,458,edi,13,hInstance,0
	mov hDrawListBox,eax
	invoke CreateFontIndirect,offset lf2

	invoke SendMessage,hDrawListBox,WM_SETFONT,eax,0
invoke  SetWindowContextHelpId,hDrawListBox,13
invoke CreateWindowEx,516,addr Static, offset b31,1476526080,5,226,16,18,edi,131,hInstance,0
	mov hb31,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b30,1476526080,21,226,16,18,edi,130,hInstance,0
	mov hb30,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b29,1476526080,37,226,16,18,edi,129,hInstance,0
	mov hb29,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b28,1476526080,53,226,16,18,edi,128,hInstance,0
	mov hb28,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b27,1476526080,69,226,16,18,edi,127,hInstance,0
	mov hb27,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b26,1476526080,85,226,16,18,edi,126,hInstance,0
	mov hb26,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b25,1476526080,101,226,16,18,edi,125,hInstance,0
	mov hb25,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b24,1476526080,117,226,16,18,edi,124,hInstance,0
	mov hb24,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b23,1476526080,133,226,16,18,edi,123,hInstance,0
	mov hb23,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b22,1476526080,149,226,16,18,edi,122,hInstance,0
	mov hb22,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b21,1476526080,165,226,16,18,edi,121,hInstance,0
	mov hb21,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b20,1476526080,181,226,16,18,edi,120,hInstance,0
	mov hb20,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b19,1476526080,197,226,16,18,edi,119,hInstance,0
	mov hb19,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b18,1476526080,213,226,16,18,edi,118,hInstance,0
	mov hb18,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b17,1476526080,229,226,16,18,edi,117,hInstance,0
	mov hb17,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b16,1476526080,245,226,16,18,edi,116,hInstance,0
	mov hb16,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b15,1476526080,261,226,16,18,edi,115,hInstance,0
	mov hb15,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b14,1476526080,277,226,16,18,edi,114,hInstance,0
	mov hb14,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b13,1476526080,293,226,16,18,edi,113,hInstance,0
	mov hb13,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b12,1476526080,309,226,16,18,edi,112,hInstance,0
	mov hb12,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b11,1476526080,325,226,16,18,edi,111,hInstance,0
	mov hb11,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b10,1476526080,341,226,16,18,edi,110,hInstance,0
	mov hb10,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b09,1476526080,357,226,16,18,edi,109,hInstance,0
	mov hb09,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b08,1476526080,373,226,16,18,edi,108,hInstance,0
	mov hb08,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b07,1476526080,389,226,16,18,edi,107,hInstance,0
	mov hb07,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b06,1476526080,405,226,16,18,edi,106,hInstance,0
	mov hb06,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b05,1476526080,421,226,16,18,edi,105,hInstance,0
	mov hb05,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b04,1476526080,437,226,16,18,edi,104,hInstance,0
	mov hb04,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b03,1476526080,453,226,16,18,edi,103,hInstance,0
	mov hb03,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b02,1476526080,469,226,16,18,edi,102,hInstance,0
	mov hb02,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b01,1476526080,485,226,16,18,edi,101,hInstance,0
	mov hb01,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,516,addr Static, offset b00,1476526080,501,226,16,18,edi,100,hInstance,0
	mov hb00,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,4 or WS_EX_TRANSPARENT,addr Static, offset BitDisplayTotal,1342308352,200,247,215,11,edi,80,hInstance,0
	mov hTotalBit,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,4 or WS_EX_TRANSPARENT,addr Static, offset HexDisplayTotal,1342308352,448,247,59,16,edi,81,hInstance,0
	mov hTotalHex,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,4 or WS_EX_TRANSPARENT,addr Static, offset DecDisplayTotal,1342308352,125,247,53,15,edi,82,hInstance,0
	mov hTotalDec,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
.data
FormatGroup db 'Type of string symbols',0
RbSimbolic db 'Symbolic',0
RbNumeric db 'Numeric',0
txtBtnClb db  "Into Clipboard",0
txtBtnProc db "Into Summoner EditBox",0
numTotalAv db 12 dup (0)
numTotalCh db 12 dup (0)

numCurrentV db '00000000',0
.code
invoke CreateWindowEx,4,addr Button, offset FormatGroup,1342177287,356,148,156,72,edi,60,hInstance,0
	mov hGrpBtn,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke  SetWindowContextHelpId,hGrpBtn,60
invoke CreateWindowEx,4,addr Button,offset RbSimbolic,1342177289,359,168,90,20,edi,61,hInstance,0
	mov hRbSimbol,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke  SetWindowContextHelpId,hRbSimbol,61
invoke CreateWindowEx,4,addr Button, offset RbNumeric,1342177289,359,191,90,20,edi,62,hInstance,0
	mov hRbNumeric,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke  SetWindowContextHelpId,hRbNumeric,62
invoke SendMessage,hRbSimbol,BM_SETCHECK,1,0
invoke CreateWindowEx,4,addr Button, offset txtBtnClb,1342242816,386,91,126,23,edi,20,hInstance,0
	mov hBtnClipboard,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke  SetWindowContextHelpId,hBtnClipboard,20
invoke CreateWindowEx,4,addr Button, offset txtBtnProc,1342242816,386,116,126,23,edi,21,hInstance,0
	mov hBtnEdit,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke  SetWindowContextHelpId,hBtnEdit,21
invoke CreateWindowEx,4 or WS_EX_TRANSPARENT,addr Static,offset capTotalAv,1342308352,4,2,81,20,edi,30,hInstance,0
	mov hCapTotalA,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,4 or WS_EX_TRANSPARENT,addr Static, offset numTotalAv,1342308352,82,2,42,18,edi,31,hInstance,0
 	mov hNumTotalA,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,4 or WS_EX_TRANSPARENT,addr Static, offset capTotalCh,1342308352,166,2,77,18,edi,32,hInstance,0
	mov hCapTotalC,eax
invoke SendMessage,eax,WM_SETFONT,esi,1

invoke CreateWindowEx,4 or WS_EX_TRANSPARENT,addr Static, offset numTotalCh,1342308352,244,2,54,16,edi,33,hInstance,0
	mov hNumTotalC,eax
invoke SendMessage,eax,WM_SETFONT,esi,1

invoke CreateWindowEx,4 or WS_EX_TRANSPARENT,addr Static, offset capSelectedV,1342308352,4,262,102,18,edi,65535,hInstance,0
	mov hCapSelectedV,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,4 or WS_EX_TRANSPARENT,addr Static, offset capChoosenV,1342308352,4,246,117,13,edi,65535,hInstance,0
	mov hCapChoosenV,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,4 or WS_EX_TRANSPARENT,addr Static, offset numCurrentV,1342308352,116,262,56,16,edi,40,hInstance,0
	mov hNumCurrentV,eax
invoke SendMessage,eax,WM_SETFONT,esi,1
invoke CreateWindowEx,4 or WS_EX_CLIENTEDGE or WS_EX_TRANSPARENT,addr Static, 0,1342177283 ,472,5,32,32,hWnd,65535,hInstance,0
	mov esi,eax
invoke LoadIcon,400000h,1
invoke SendMessage,esi, STM_SETIMAGE,IMAGE_ICON,eax
;Fill strings into Class List Box and assosiate them with structures
	mov esi,Classes
	mov ebx,hDrawListBox
	mov edi,14 ;!
assume esi:ptr ClassTable
@@:	invoke SendMessage,ebx,LB_ADDSTRING,0,[esi].dClass
	add esi,Sizeof ClassTable
	dec edi
	jne @B
assume esi:nothing
;Create Status Window 
.data?
hStatus dd ?
.data
Parts dd 20,60,100,-1
.data?
hStatbmp dd ?
hStatbmp2 dd ?
bm BITMAP <>
.code
	invoke CreateStatusWindow,WS_CHILD or WS_VISIBLE,0,hWnd,10
	mov hStatus,eax
;Set parts
	invoke SendMessage,hStatus,SB_SETPARTS,4,offset Parts
;Load Bitmaps for the Status and make 1 part ownerdraw

	invoke LoadBitmap,hInstance,15
	mov hStatbmp,eax
	mov hStatCurrent,eax
	invoke SendMessage,hStatus,SB_SETTEXT,SBT_OWNERDRAW,eax
	invoke GetObject,hStatbmp,sizeof bm,offset bm
	invoke LoadBitmap,hInstance,16
	mov hStatbmp2,eax
	invoke LoadCursor,hInstance,17
	invoke SetClassLong,hLbClasses,GCL_HCURSOR,eax
	invoke LoadCursor,hInstance,18
	invoke SetClassLong,hEdit,GCL_HCURSOR,eax
	invoke LoadCursor,hInstance,19
	invoke SetClassLong,hBtnClipboard,GCL_HCURSOR,eax