Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CreateControl
#3
Hmm...it's actually 2/3 exactly! If I multiply all the numbers by 1.5 I get them to even out.
for(idctrl i 1000000) if(!id(idctrl hwnd)) break
hctrl=CreateControl(WS_EX_CLIENTEDGE "ComboBox" 0 0x54230243 3 i2 144 213 hwnd idctrl)
for(idctrl i 1000000) if(!id(idctrl hwnd)) break
hctrl=CreateControl(WS_EX_CLIENTEDGE "ComboBox" 0 0x54230243 150 i2 144 213 hwnd idctrl)
for(idctrl i 1000000) if(!id(idctrl hwnd)) break
hctrl=CreateControl(WS_EX_CLIENTEDGE "Edit" 0 0x54030080 297 i2 30 20 hwnd idctrl)
for(idctrl i 1000000) if(!id(idctrl hwnd)) break
hctrl=CreateControl(WS_EX_CLIENTEDGE "Edit" 0 0x54030080 330 i2 69 20 hwnd idctrl)
for(idctrl i 1000000) if(!id(idctrl hwnd)) break
hctrl=CreateControl(WS_EX_CLIENTEDGE "Edit" 0 0x54030080 402 i2 72 20 hwnd idctrl)

neat...but why?

Also, What would be the simplest way to write all the data in those boxes to an XML being that I wouldn't know exactly how many will exist at the time of update? I'm not really good with those codes yet. I plan to be...but right now, I'm not so hot.

Mmm...Friday night...gig...free booze. I love being a musician. Thanks for all the help,
Jimmy Vig.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)