Search found 1961 matches

by srvaldez
Jul 16, 2019 23:46
Forum: Community Discussion
Topic: no Windows system sounds after update
Replies: 2
Views: 44

Re: no Windows system sounds after update

jj2007
I tried those instructions in vain, the problem was not a driver but lost settings.
by srvaldez
Jul 16, 2019 21:48
Forum: Community Discussion
Topic: no Windows system sounds after update
Replies: 2
Views: 44

no Windows system sounds after update

after updating I had no system sounds, even though the media player worked ok, after much trial and error, I found the fix. in the windows search box I entered sound and chose "Change system sounds" the sound scheme box had "No sounds", selecting Windows Default solved the proble...
by srvaldez
Jul 16, 2019 11:24
Forum: Windows
Topic: InputBox() in console program
Replies: 32
Views: 543

Re: InputBox() in console program

@dodicat
nice :-)
by srvaldez
Jul 16, 2019 10:14
Forum: Windows
Topic: InputBox() in console program
Replies: 32
Views: 543

Re: InputBox() in console program

@deltarho[1859] and Josep Roca thank you
that's a nice themed input box :-)
by srvaldez
Jul 15, 2019 22:09
Forum: Windows
Topic: InputBox() in console program
Replies: 32
Views: 543

Re: InputBox() in console program

@Josep Roca thanks, there are no warnings when using your latest version :-)
by srvaldez
Jul 15, 2019 21:21
Forum: Windows
Topic: InputBox() in console program
Replies: 32
Views: 543

Re: InputBox() in console program

thank you UEZ
look forward to the unicode version :-)
by srvaldez
Jul 15, 2019 21:20
Forum: Windows
Topic: InputBox() in console program
Replies: 32
Views: 543

Re: InputBox() in console program

@deltarho[1859]
if you want fix the suspicious pointer warnings in AfxWin.inc, just change LPWSTR = RT_RCDATA to LPWSTR = Cptr(LPWSTR, RT_RCDATA) in functions AfxExtractResourceToFile and AfxExtractResource
by srvaldez
Jul 15, 2019 20:53
Forum: Windows
Topic: InputBox() in console program
Replies: 32
Views: 543

Re: InputBox() in console program

@UEZ thank you
but your input box as it is, lacks the functionality of returning user input, other than the yes or no
but I like the fading effect :-)
by srvaldez
Jul 15, 2019 20:44
Forum: Windows
Topic: InputBox() in console program
Replies: 32
Views: 543

Re: InputBox() in console program

@deltarho[1859] thank you :-)
I had no Idea that Josep Roca had already made a perfect input box, I also noticed the suspicious pointer warning, but have no idea how to fix it, but as long as it works I am happy.
by srvaldez
Jul 15, 2019 18:50
Forum: Windows
Topic: InputBox() in console program
Replies: 32
Views: 543

Re: InputBox() in console program

hi dodicat
that's very good, I really like the simplicity and brevity of your code, thank you :-)
by srvaldez
Jul 15, 2019 15:48
Forum: Windows
Topic: InputBox() in console program
Replies: 32
Views: 543

Re: InputBox() in console program

@marpon I am using FBC Version 1.07.0 (06-06-2019), with gcc 9.1.0 when compiling to 64-bit was getting a warning on the line DialogBoxParam(hIn1 , Cast(ZString Ptr , IDD_DLG1) , 0 , @DlgProc , 0) msgbox.bas(64) warning 3(1): Passing different pointer types, at parameter 4 of DIALOGBOXPARAM() changi...
by srvaldez
Jul 15, 2019 15:22
Forum: Windows
Topic: InputBox() in console program
Replies: 32
Views: 543

Re: InputBox() in console program

@marpon
for some reason the printf statements are not agreeable to the C compiler, replacing them with Print solves the problem :-)
by srvaldez
Jul 15, 2019 14:39
Forum: Windows
Topic: InputBox() in console program
Replies: 32
Views: 543

Re: InputBox() in console program

@all
thanks for your valuable code and suggestions
@marpon
your code is exactly what I am after, it compiles and runs ok when using gas but it fails to compile when using gen gcc, would you be so kind and look into it?
by srvaldez
Jul 15, 2019 9:00
Forum: Windows
Topic: InputBox() in console program
Replies: 32
Views: 543

InputBox() in console program

in the spirit of my previous thread https://www.freebasic.net/forum/viewtopic.php?f=6&t=27723 I would like a simple input box using Windows API this could probably be achieved by using a library like IUP or GTK, but I would rather not use external libraries, I am convinced that it can be done by...
by srvaldez
Jul 12, 2019 21:59
Forum: Libraries
Topic: Accessing GIF Frames and Displaying GIF Images/Animations
Replies: 13
Views: 1717

Re: Accessing GIF Frames and Displaying GIF Images/Animations

@UEZ works as advertised :-) just an observation, when compiling with -w pedantic there are a number of warnings due to missing byval or byref in your function declarations, it's easy enough to see that they should be byval, except for arrays another thing, a normal exit is usually 0. I hope that yo...

Go to advanced search