Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / returning value from function

Author
Message
nruser
11
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Serbia
Posted: 10th Jul 2011 00:35
how can i get screen width and screen height values inside function in dll?
and how can i set text size inside dll?
nruser
11
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Serbia
Posted: 20th Jul 2011 18:29
can anybody help me with this, is this even possible to do?
IanM
Retired Moderator
17
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th Jul 2011 22:31
1. You don't say what programming language you are using.
2. You haven't been specific about what you mean by 'screen size' - Do you mean the desktop size, or DBPros window size, or something else?
3. You haven't been specific about what you mean by 'text size' - do you mean the size of text displayed by DBPros PRINT & TEXT commands, or are you displaying your own text, or something else?

For 2 & 3, google may be your answer to start with.

nruser
11
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Serbia
Posted: 21st Jul 2011 02:38
sorry, to be more specific i use c++ (VC++ 2008 express edition)

what i meant was how can i use



from globstruct.h

to make function that will print a string to the screen at specific coordinates like



and what i meant with text size is how can i set text size from plugin with

function
IanM
Retired Moderator
17
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 23rd Jul 2011 02:52
Ok, see that thread a little bit down the screen from this one, called 'How do you call DBP commands from a C++ plugin?'

Have a read through that, and the link in the second post of that thread - it'll tell you what you need to know to call another command from your own plug-in.

Login to post a reply

Server time is: 2019-10-15 09:25:53
Your offset time is: 2019-10-15 09:25:53