@American Ninja Suit yourself
The boys gave you what you suggested from the beginning
But you start giving us false cases like Caculator then WordPad
The only way to get the last Active window is using a Wach Dog or Global Hook
Do what you like it is your case after all
Um, that is utter ...
Search found 24 matches
- Thu Jan 17, 2013 5:43 am
- Forum: Tricks 'n' Tips
- Topic: Capture the Desktop except the ForeGround Window [Windows]
- Replies: 17
- Views: 6696
- Thu Jan 17, 2013 5:12 am
- Forum: Coding Questions
- Topic: SendNetworkFile
- Replies: 43
- Views: 8426
Re: PureBasic 5.10 - Granted wishes release - is out !
I'm just worried about the precedent it sets.... and I'm truly concerned that whatever I write now, may have to be re-written in future just because Fantaisie Software decides to change.... I've got a business to run, and I don't need these worries.... :? How can I rely on this product being stable ...
- Thu Jan 17, 2013 5:01 am
- Forum: Coding Questions
- Topic: SendNetworkFile
- Replies: 43
- Views: 8426
Re: PureBasic 5.10 - Granted wishes release - is out !
I take it that means you want me to shut up??? Very well, then... I see the bigger picture of these forums now... interesting.rsts wrote:+1American Ninja wrote:I'm supposed to just shut up
- Thu Jan 17, 2013 4:52 am
- Forum: Coding Questions
- Topic: SendNetworkFile
- Replies: 43
- Views: 8426
Re: PureBasic 5.10 - Granted wishes release - is out !
Alternatives??? Fine, then remove DeleteDirectory() too and let us write our own alternative procedure to do it. That's what it comes down to, and if you can't grasp that, then I feel very sorry for you.
As for the attitude, I'm a paid customer of Fantasie Software and I have every right to express ...
As for the attitude, I'm a paid customer of Fantasie Software and I have every right to express ...
- Thu Jan 17, 2013 4:22 am
- Forum: Coding Questions
- Topic: SendNetworkFile
- Replies: 43
- Views: 8426
Re: PureBasic 5.10 - Granted wishes release - is out !
The problem is if one of your client send the same magic value without sending the file after that, your server will crash.
Hang on a sec.... we're responsible if our client didn't follow through without sending a file..... so why should you remove it just to protect us from ourselves???? What if ...
Hang on a sec.... we're responsible if our client didn't follow through without sending a file..... so why should you remove it just to protect us from ourselves???? What if ...
- Thu Jan 17, 2013 4:15 am
- Forum: Tricks 'n' Tips
- Topic: Capture the Desktop except the ForeGround Window [Windows]
- Replies: 17
- Views: 6696
Re: Capture the Desktop except the ForeGround Window [Window
I think it's a lost cause..... although I appreciate Rashad's efforts to help. :mrgreen:
The only close way to achieve the goal is to hide the foreground window, take the shot, then restore the window, but that brings issues of lost focus, major flicker (especially when the window is maximized ...
The only close way to achieve the goal is to hide the foreground window, take the shot, then restore the window, but that brings issues of lost focus, major flicker (especially when the window is maximized ...
- Thu Jan 17, 2013 4:14 am
- Forum: Coding Questions
- Topic: SendNetworkFile
- Replies: 43
- Views: 8426
Re: PureBasic 5.10 - Granted wishes release - is out !
PB Help -> History
The history section is not always reliable though.... I was updating an old app last week that used #PB_Font_Default, but that constant no longer exists. I checked the history but nada. Had no idea what was going on, until I read that #PB_Default is what we use now. Shame the ...
The history section is not always reliable though.... I was updating an old app last week that used #PB_Font_Default, but that constant no longer exists. I checked the history but nada. Had no idea what was going on, until I read that #PB_Default is what we use now. Shame the ...
- Wed Jan 16, 2013 3:36 pm
- Forum: Tricks 'n' Tips
- Topic: Capture the Desktop except the ForeGround Window [Windows]
- Replies: 17
- Views: 6696
Re: Capture the Desktop except the ForeGround Window [Window
Still doesn't quite work... this is what it does to my system tray:


- Wed Jan 16, 2013 3:34 pm
- Forum: Coding Questions
- Topic: Screenshot of desktop but not current window
- Replies: 32
- Views: 7690
Re: Screenshot of desktop but not current window
Thank you very much for trying... it's a hard nut to crack!!! 
- Wed Jan 16, 2013 3:22 pm
- Forum: General Discussion
- Topic: Japanese Multiplication
- Replies: 9
- Views: 1735
Re: Japanese Multiplication
Seems very slow to me, and needs lots of paper space. And what happens if they need to do the math in their heads???idle wrote:a vid of the method here
http://www.youtube.com/watch?v=zPmrKtIhf_I
- Wed Jan 16, 2013 10:24 am
- Forum: Coding Questions
- Topic: Screenshot of desktop but not current window
- Replies: 32
- Views: 7690
Re: Screenshot of desktop but not current window
I'm really sorry Rashad, and I truly appreciate that you're really trying hard to help and all the time you've put into it, but your last updated code still fails. Here's what happens if I give the focus to a maximized Notepad window (which must not be included in the screenshot):
http://img21 ...
http://img21 ...
- Wed Jan 16, 2013 6:41 am
- Forum: Coding Questions
- Topic: Screenshot of desktop but not current window
- Replies: 32
- Views: 7690
Re: Screenshot of desktop but not current window
Still not quite right... I now get an error of "Line: 22 - Image 'Width' is too small, should be > 0" for this line:
hBitmap = CreateImage(1,r\right-r\left,r\bottom-r\top ,32)
It returns 0 for both width and height of a window that isn't seen, so it seems to be picking up invisible windows. I ...
hBitmap = CreateImage(1,r\right-r\left,r\bottom-r\top ,32)
It returns 0 for both width and height of a window that isn't seen, so it seems to be picking up invisible windows. I ...
- Wed Jan 16, 2013 1:20 am
- Forum: Coding Questions
- Topic: Screenshot of desktop but not current window
- Replies: 32
- Views: 7690
Re: Screenshot of desktop but not current window
Your #1 code seems okay but still shows my desktop as being black instead of gray. Looks like some sort of alpha issue, or bitdepth issue??? Thanks for persevering for me!!!RASHAD wrote:- Better logic
- Much faster
# 1 :
- Tue Jan 15, 2013 10:56 am
- Forum: Coding Questions
- Topic: SendNetworkFile
- Replies: 43
- Views: 8426
Re: PureBasic 5.10 - Granted wishes release - is out !
How do we send files over a network now??? We have to write our own procedures??? I wouldn't know how. This is a bad decision. BASIC is supposed to be easy.

- Tue Jan 15, 2013 10:38 am
- Forum: Coding Questions
- Topic: Screenshot of desktop but not current window
- Replies: 32
- Views: 7690
Re: Screenshot of desktop but not current window
Rashad, that's close, but two problems... the first is that my desktop has a gray background but it's black in the BMP screenshot, and second is if I replace "Calculator" with "Untitled - Notepad" and put a maximized Notepad window at the foreground, then this line crashes:
CreateImage(1,r\right ...
CreateImage(1,r\right ...