Search found 355 matches

by datwill310
Apr 04, 2017 16:44
Forum: Beginners
Topic: Loading a DLL from a Folder?
Replies: 14
Views: 1987

Re: Loading a DLL from a Folder?

just a suggestion, make a dll-folder with your dll's and add that folder to the PATH variable and see if it works. Search Path Used by Windows to Locate a DLL Visual Studio 2015 Other Versions For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation. With both implic...
by datwill310
Apr 04, 2017 15:47
Forum: Beginners
Topic: Loading a DLL from a Folder?
Replies: 14
Views: 1987

Loading a DLL from a Folder?

Hi. I would like to load a DLL from a folder in the same path as the application file loading it (using #inclib). Eg: bin \-- dllfile.dll app.exe I run app.exe after using this: #inclib "dllfile" Compiles fine, but comes out with "unable to find dll" as a system warning. However,...
by datwill310
Apr 04, 2017 15:09
Forum: Libraries
Topic: Basic questions about libraries
Replies: 5
Views: 4838

Re: Basic questions about libraries

Jeaon-Christophe,

You're a life-saver.

I just want you to know that.
by datwill310
Apr 04, 2017 4:14
Forum: Libraries
Topic: Graphics for a game
Replies: 5
Views: 1358

Graphics for a game

Hi all. Today, I have been inspired by a YouTube channel to create a game for them to play. They have come up with the basic idea, and I have added a few of my own. It's coming along really well! Out of all the games I have thought up, this is definitely the best thought through - I gotta give credi...
by datwill310
Mar 29, 2017 17:46
Forum: Community Discussion
Topic: I'm Having a PROBLEM *SOLVED*
Replies: 32
Views: 5314

Re: I'm Having a PROBLEM

--Final Update--

Thanks for all your help. We have successfully installed both a Nvidia GeForce GT 710 2GB card and the new PSU, and everything is working good. No more lags for the games I can play!

Thanks again!
by datwill310
Mar 20, 2017 14:51
Forum: Tips and Tricks
Topic: Palette Finder (ANY Bitmap Image!)
Replies: 17
Views: 2284

Re: Palette Finder (ANY Bitmap Image!)

I may want to only get dimensions of an image in certain situations. Just give me one viable sample, of that ... Such as with a file explorer: show only dimensions in the listview control. Such as with a paint program, displaying info in the status bar (though actually, that would come with the raw...
by datwill310
Mar 20, 2017 14:40
Forum: Tips and Tricks
Topic: Palette Finder (ANY Bitmap Image!)
Replies: 17
Views: 2284

Re: Palette Finder (ANY Bitmap Image!)

Even less complex: ImageCreate(GetBitmapWidth(img), GetBitmapHeight(img)) This is my reasoning behind my two functions: simplicity of code. Sorry, your comparison is flawed, because of: function getimage(byval pathOfBitmap as string) as any Ptr [Aethelstan] (btw: I'd call it LoadBmpImage(), or simi...
by datwill310
Mar 20, 2017 12:46
Forum: Tips and Tricks
Topic: Palette Finder (ANY Bitmap Image!)
Replies: 17
Views: 2284

Re: Palette Finder (ANY Bitmap Image!)

Using a type to represent two values seems a bit of complexity for nothing to me ... If using types seems too complex (I was afraid of them at first, too), you can also pass variables to functions by reference; this way more than one value can be returned from the function (or even from subroutine)...
by datwill310
Mar 19, 2017 14:45
Forum: General
Topic: ToolTips?
Replies: 14
Views: 1386

Re: ToolTips?

> In my original rig, the parent window of a GUIWIN object can display it's ToolTip fine (except for some CommonControl v6 bugs which bother me and are known issues) Which bugs, if I may ask? - When you click on the window with the tooltip, the tooltip never appears again in that instance of the pr...
by datwill310
Mar 18, 2017 23:20
Forum: Tips and Tricks
Topic: Palette Finder (ANY Bitmap Image!)
Replies: 17
Views: 2284

Re: Palette Finder (ANY Bitmap Image!)

MrSwiss wrote:
datwill310 wrote:Using a type to represent two values seems a bit of complexity for nothing to me ...
Well, I'd say, less so, than using two Functions ... (twice file Open/file Read/file Close???).
On top of it: a file check, for opening the correct type of file ... (for free!).

I guess ;D it's quite simple though.
by datwill310
Mar 18, 2017 22:23
Forum: General
Topic: ToolTips?
Replies: 14
Views: 1386

Re: ToolTips?

So ToolTip controls can only have one tip associated with it. uID specifies the handle to the control when the flag TTF_IDISHWND is used. hwnd specifies the parent of that control. I shall try adding them again soon. Thanks for your help!
by datwill310
Mar 18, 2017 22:09
Forum: Tips and Tricks
Topic: Palette Finder (ANY Bitmap Image!)
Replies: 17
Views: 2284

Re: Palette Finder (ANY Bitmap Image!)

@datwill310, you are using multiple Functions, to obtain width and height of a BMP file. Since opening/reading/closing a file, is comparatively slow, why not doing it, all in one (returning a Type instead of a single variable): ' Using_BMP_HeaderInfo.bas -- 2017-03-18, by MrSwiss 'Type BMP_Header '...
by datwill310
Mar 18, 2017 17:51
Forum: General
Topic: ToolTips?
Replies: 14
Views: 1386

Re: ToolTips?

Hi, The example, not so simple ;-) A lot of code to create buttons, windows etc and manage them. On the main window 2 buttons with tooltip. Click on the right one to change the text of the tootip. Click on the left one to open a dialog. Each control (static text, edit, button) has a tooltip. Click ...
by datwill310
Mar 17, 2017 22:51
Forum: General
Topic: ToolTips?
Replies: 14
Views: 1386

Re: ToolTips?

Use fltk-c for FreeBASIC and your OGL project can be compiled for 32/64-bit Windows, Linux included all Raspberry PI's. every fltk widget as easy to use tooltips amen! ;-) Joshy Thanks dude :D the library seems good, but there's one issue. My library is meant for Windows API: to simplify quite a co...
by datwill310
Mar 17, 2017 17:52
Forum: Beginners
Topic: Weird destructor problem
Replies: 10
Views: 1180

Re: Weird destructor problem

I think a destroy() or close() method would be best. It should close/destroy the window, and clear the internal data structures (e.g. set handles to NULL, etc.), so it will do nothing if called again. Then the destructor would also call the destroy() method, to automatically destroy the window if i...

Go to advanced search