mIRC Home    About    Download    Register    News    Help

Print Thread
#89053 03/07/04 09:12 PM
Joined: Aug 2003
Posts: 72
V
visionz Offline OP
Babel fish
OP Offline
Babel fish
V
Joined: Aug 2003
Posts: 72
I would love the ability to draw on a certain DC...
We could use a switch -h (whatever) to tell mirc that we're drawing on a DC...
Exemple :
//drawrect -h WHATEVER_DC ...
//drawrect -h $getDC($window(@blah).hwnd) ...

And an identifier that would do that same that GetDC and another that would do the same than FindWindow

That is about it



#89054 03/07/04 09:17 PM
Joined: Oct 2003
Posts: 42
V
Ameglian cow
Offline
Ameglian cow
V
Joined: Oct 2003
Posts: 42
Sorry but, what do you mean with a 'DC' ?

#89055 04/07/04 06:25 AM
Joined: Jul 2003
Posts: 77
B
Babel fish
Offline
Babel fish
B
Joined: Jul 2003
Posts: 77
For those who dont know a dc is a windows drawable area... basicly... lol its a winapi thing. you can create them and copy them and such when useing drawtext.. and such u are actually telling mIRC to draw to the windows dc... but enough about that its not important....

me being a c programmer i understand the whole dc ur saying... but i dont understand the usefulness of this.... unless u could createcompatdc but then again... its still pointless

2 options either just use the -n switch or window @scratch then write to the scratch.. then drawcopy... which is bltblt so its super fast...

i dont c the need for a $getDC or $createDC or $*dc just make a hidden window and drawcopy form it or -n everything...


hmmm signed by me
#89056 04/07/04 02:23 PM
Joined: Aug 2003
Posts: 72
V
visionz Offline OP
Babel fish
OP Offline
Babel fish
V
Joined: Aug 2003
Posts: 72
Let say you want to draw something on desktop, or to copy the desktop on a picwin... then it would be usefull

#89057 04/07/04 03:31 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
A 'DC' is a device context, it's a Windows API contruct to allow generic interaction with a host of output devices (monitor, printer, etc.) using a single interface. Personally I don't see where it's really necessary in something like mIRC scripting.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#89058 07/07/04 06:27 PM
Joined: Jul 2004
Posts: 5
H
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
H
Joined: Jul 2004
Posts: 5
An extra scratch-board would be really nice. I have found no good programs nowadays that can help several people draw on a shared area. If mIRC has a @scratch-window that aliases can write to scripters can easily write such plugins for mIRC.


Link Copied to Clipboard