Search found 2263 matches

by Sparkie
Thu Nov 20, 2014 3:53 am
Forum: Off Topic
Topic: sixty
Replies: 30
Views: 12106

Re: sixty

Happy belated Birthday netmaestro!
I also crossed over to 60, just 3 days before you. That might explain why we quite often think alike! :mrgreen:
by Sparkie
Thu Nov 20, 2014 3:47 am
Forum: Off Topic
Topic: Shop Management App
Replies: 1
Views: 2117

Shop Management App

Howdy strangers!

With all the creative minds floating around here, I wanted to ask if anyone has (or knows of) an app that does what is being requested in the following link:

http://www.theshirtboard.com/index.php/topic,13410.msg129326.html#msg129326

It's nothing more than a simple shop ...
by Sparkie
Sat Feb 15, 2014 4:23 pm
Forum: Coding Questions
Topic: Go to anchor in WebGadget [Resolved]
Replies: 5
Views: 1779

Re: Go to anchor in WebGadget

Hi KCC :D

There are other ways but I make use of the element id name.

Enumeration
#Form0
#Web0
#BoutonGoto50
EndEnumeration

OpenWindow(#Form0, 664, 253, 411, 451, "New window ( 0 )", #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_TitleBar )
WebGadget(#Web0, 14, 20, 384, 401 ...
by Sparkie
Fri Feb 14, 2014 4:52 pm
Forum: Windows
Topic: Win32 - How to add controls to TabControl?
Replies: 2
Views: 2147

Re: Win32 - How to add controls to TabControl?

Add a child static control for each tab item. Add individual controls the child static control of the tab you want the control to appear on. Hide/show the static control as the tab selection changes.
by Sparkie
Thu Feb 13, 2014 2:18 pm
Forum: Coding Questions
Topic: Combobox with something like MenuBar ?
Replies: 9
Views: 3935

Re: Combobox with something like MenuBar ?

This version should be a little more GUI friendly.

;*********************************************
;Sparkies ComboBoxGadget With Menubar type lines v2
;Windows only
;*********************************************
Enumeration
#WinMain
EndEnumeration

Enumeration
#ComboMain
EndEnumeration

Procedure ...
by Sparkie
Thu Feb 13, 2014 12:32 pm
Forum: Coding Questions
Topic: Combobox with something like MenuBar ?
Replies: 9
Views: 3935

Re: Combobox with something like MenuBar ?

netmaestro, can't get DFC_MENU to perform this task. What did you have in mind? :?
by Sparkie
Thu Feb 13, 2014 12:10 pm
Forum: Coding Questions
Topic: Combobox with something like MenuBar ?
Replies: 9
Views: 3935

Re: Combobox with something like MenuBar ?

Thanks netmaestro. :)

At first I did DrawFrameControl with DFC_BUTTON and just drew the button 1 pixel high. Never occurred to me to try DFC_MENU. Let me go back and see what results I get with that.
by Sparkie
Thu Feb 13, 2014 4:20 am
Forum: Coding Questions
Topic: Combobox with something like MenuBar ?
Replies: 9
Views: 3935

Re: Combobox with something like MenuBar ?

;*********************************************
;Sparkies ComboBoxGadget With Menubar type lines
;Windows only
;*********************************************
Enumeration
#WinMain
EndEnumeration

Enumeration
#ComboMain
EndEnumeration

Procedure WindowCallback(hwnd, msg, wParam, lParam)
Result ...
by Sparkie
Wed Feb 05, 2014 11:22 pm
Forum: Coding Questions
Topic: Drag and drop file in windows 8.1 possible?
Replies: 66
Views: 20638

Re: Drag and drop file in windows 8.1 possible?

Is it just dragging from IE which is a problem Sparks or is it explorer as well? It's IE (protected Mode) and Chrome, or any app/browser running with Low Integrity. Win Explorer works fine.

It is mindless 'security', as though everything AV is more important than the usability of the device and ...
by Sparkie
Wed Feb 05, 2014 9:55 pm
Forum: Coding Questions
Topic: Drag and drop file in windows 8.1 possible?
Replies: 66
Views: 20638

Re: Drag and drop file in windows 8.1 possible?

If anyone is interested, here is the skinny on my drag/drop issue.

By default, my app runs at Medium Integrity Level. IE (with Protected Mode enabled) runs at Low Integrity Level. This prevents drag and drop from IE (low) to my app (medium).

Disabling UAC through registry OR disbaling Protected ...
by Sparkie
Wed Feb 05, 2014 4:37 am
Forum: Coding Questions
Topic: Drag and drop file in windows 8.1 possible?
Replies: 66
Views: 20638

Re: Drag and drop file in windows 8.1 possible?

This doesn't work for me and drag/dropping images but maybe you'll have better luck on your side.

#MSGFLT_ADD = 1
#WM_COPYGLOBALDATA = 73
ChangeWindowMessageFilter_(#WM_DROPFILES, #MSGFLT_ADD)
ChangeWindowMessageFilter_(#WM_COPYDATA, #MSGFLT_ADD)
ChangeWindowMessageFilter_(#WM_COPYGLOBALDATA ...
by Sparkie
Wed Feb 05, 2014 1:49 am
Forum: Coding Questions
Topic: Drag and drop file in windows 8.1 possible?
Replies: 66
Views: 20638

Re: Drag and drop file in windows 8.1 possible?

I discovered that UAC is the culprit for me. I went into the Win registry and FULLY disabled UAC and my drag/drop for images worked fine. I also got it to work by disabling Protected Mode in IE.

Before doing so, I followed these instructions to allow my app to drag/drop, but it was a no go.

So ...
by Sparkie
Tue Feb 04, 2014 8:52 pm
Forum: Coding Questions
Topic: Drag and drop file in windows 8.1 possible?
Replies: 66
Views: 20638

Re: Drag and drop file in windows 8.1 possible?

FYI Fangles, I am now having issues similar to your drag/drop problems. I am unable to drag/drop external images to my PB app.
If I drag/drop an image from an external IE, or Chrome browser window to my app, no joy. :cry:
If I drag/drop an image from an internal or external PB app with a WebGadget ...
by Sparkie
Sun Feb 02, 2014 8:05 pm
Forum: Coding Questions
Topic: Event focus of new window
Replies: 12
Views: 3865

Re: Event focus of new window

Notice there is only one event loop now to handle all messages for both windows.
Enumeration
#Window_1
#Window_2
#Menu_1
#Button_1
#Button_2
#Button_3
#Button_4
EndEnumeration

Declare window_2()

Procedure window_1()
OpenWindow(#Window_1,20,20,260,90,"win 1",#PB_Window_SystemMenu | #PB ...
by Sparkie
Sun Feb 02, 2014 3:12 pm
Forum: Coding Questions
Topic: Drag and drop file in windows 8.1 possible?
Replies: 66
Views: 20638

Re: Drag and drop file in windows 8.1 possible?

It's amazing how UAC can affect some, but not all computers. I even changed my stings to "Always Notify" to match that of Fangles PC. Drag/drop still works flawlessly for me. :?
I'm still not sold on UAC being the culprit here.

Best of luck to you Fangles with your family situation. :)