Search found 18 matches

by Faildeath
Wed Jun 05, 2013 7:53 am
Forum: Coding Questions
Topic: Send a key without focus
Replies: 8
Views: 2737

Re: Send a key without focus

Thanks again you two for your help.
After a bit of diggin'I found what I was searching for.
It seems to be workin now, I'll still play a bit ;ore with it to be sure it's all good but that should do it :


SendMessage_(hWnd, #WM_KEYDOWN , #VK_NUMPAD2, 29)


Strangely this works on my program but ...
by Faildeath
Tue Jun 04, 2013 2:59 pm
Forum: Coding Questions
Topic: Send a key without focus
Replies: 8
Views: 2737

Re: Send a key without focus

Hi TI-994A , it's exactly what I wanted thanks!
But strangely the notepad one work but not the calculator one, probably the WM_SETTEXT
not recognized by the calculator.

Thanks now I'm on the good track, I'll also try to send it Key combinations & other keys (Ctrl+C / F3 etc)

Thanks for the fast ...
by Faildeath
Tue Jun 04, 2013 1:10 pm
Forum: Coding Questions
Topic: Send a key without focus
Replies: 8
Views: 2737

Re: Send a key without focus

I use a modified version of the same procedure, but doent work if no focus,
I also found the SendMessage() but I don't really now how to use it, with what parameters etc.

Anyway thanks for the replies :)
by Faildeath
Tue Jun 04, 2013 9:57 am
Forum: Coding Questions
Topic: Send a key without focus
Replies: 8
Views: 2737

Send a key without focus

Hi there,

I checked on the forum and found nothing to help me (or missed it).

I need to send a key to a program without giving it the focus so it stays in the back letting me work.
I now it's possible, I just don't know how.

I tried to look on the web and they talked about SendMessage_() so I ...
by Faildeath
Tue Jul 10, 2012 12:33 pm
Forum: Coding Questions
Topic: Image not initialized
Replies: 12
Views: 3091

Re: Image not initialized

Thanks, so yes I was doing it quite a bit wrong...
About the .rc file, my exact file is what I wrote earlier.

So I need to add a return, but 'return' the command ?

Sorry for my noobism :)
by Faildeath
Tue Jul 10, 2012 11:07 am
Forum: Coding Questions
Topic: Image not initialized
Replies: 12
Views: 3091

Re: Image not initialized

After a bit more checking, I think IdeasVacuum had it wright,
seems to be an error with the ico file, probably multiples ico in the same file but
can't check from work.

Still interested in the above problem's solution though :) (the part about how to use the "resource.rc" file)
by Faildeath
Tue Jul 10, 2012 11:03 am
Forum: Coding Questions
Topic: Image not initialized
Replies: 12
Views: 3091

Re: Image not initialized

Tried the SupprID_End: solution but didn't worked, still the same pb, the
Suppr_IMG_ID = ImageID(#RMenu_Delete_Img) part doesn't seams to work.

I've tried to test the resource one but I don't know how to use it and it gives me errors.
So usualy this is how I do it :

CatchImage(#RMenu_Delete_Img ...
by Faildeath
Mon Jul 09, 2012 7:09 pm
Forum: Coding Questions
Topic: Image not initialized
Replies: 12
Views: 3091

Re: Image not initialized

Thanks ts-soft, I'll try tomorrow.

I also remember that when using the exe I've made from my home computer on my work one,
the Menu Ico where not displaying. At home 100% good but not at work.
by Faildeath
Mon Jul 09, 2012 4:47 pm
Forum: Coding Questions
Topic: Image not initialized
Replies: 12
Views: 3091

Re: Image not initialized

As I am dumb I forgot to post the line which causes a problem to understand try to better :

CatchImage(#RMenu_Delete_Img, ?SupprID) : SupprID = ImageID(#RMenu_Delete_Img)
...
DataSection ;{
SupprID : IncludeBinary "F:\PureBasic\_Datas\Suppr.ico"
EndDataSection


so to my understanding (quite ...
by Faildeath
Mon Jul 09, 2012 2:35 pm
Forum: Coding Questions
Topic: Image not initialized
Replies: 12
Views: 3091

Image not initialized

Hello all,

I'm having a bit of a problem recently.
I'm coding on (mainly) 2 different computers one at home, one at work.
My home computer is running Windows 7, the other one is on XP.

My program is working normally on Seven and every XP I've tried, until
recently on my new work computer.
I now ...
by Faildeath
Fri Apr 13, 2012 2:47 pm
Forum: Coding Questions
Topic: PB 4.60 Invalid access memroy
Replies: 8
Views: 1504

Re: PB 4.60 Invalid access memroy

Yeah, wasn't check in there, strange.
Anyway, now it works, thanks :)

Gonna check my app like that I'll see if there is a problem.
by Faildeath
Fri Apr 13, 2012 11:05 am
Forum: Coding Questions
Topic: PB 4.60 Invalid access memroy
Replies: 8
Views: 1504

Re: PB 4.60 Invalid access memroy

Is it normal to have only this showing when I tested this code from the PB blog with
the purifier checked?
I don't see anything showing an error :?

ImageUploaded at ImageFra.me
by Faildeath
Thu Apr 12, 2012 7:55 pm
Forum: Coding Questions
Topic: PB 4.60 Invalid access memroy
Replies: 8
Views: 1504

Re: PB 4.60 Invalid access memroy

How do I see if I have a memory overflow with the purifier? (Never used it and don't see anything more happening)
by Faildeath
Wed Apr 11, 2012 9:57 pm
Forum: Coding Questions
Topic: PB 4.60 Invalid access memroy
Replies: 8
Views: 1504

PB 4.60 Invalid access memroy

I've been having more and more crash on the IDE with invalid acces memeory for
basic PB commands, I don't understnd where is the problem coming from.

the last 3 I had (within an hour) were on these commands :
- EndProcedure
- SetGadgetState(#ListIconDL, n) : Delay(150)
- If OpenWindow(#Window ...
by Faildeath
Wed Apr 11, 2012 12:45 pm
Forum: Coding Questions
Topic: Firefox, mozilla based browser URL
Replies: 73
Views: 33054

Re: Firefox, mozilla based browser URL

So simple yet hard to see sometimes...

Thanks doc, works perfectly now :)