Search found 1083 matches

by ChrisR
Wed Apr 10, 2024 9:32 pm
Forum: Coding Questions
Topic: PB 6.10 x64 OpenLibrary
Replies: 6
Views: 371

Re: PB 6.10 x64 OpenLibrary

Changed to ".i" and all is working well again. Far out. Coding with 6.10 is so confusing now. :( The confusing thing here is that wrong codes were 'correctly' working with previous version due to memory address fitting into long (.l) on x64. Again see this as an opportunity to finally hav...
by ChrisR
Wed Apr 10, 2024 9:26 pm
Forum: Coding Questions
Topic: EditorGadget Problem with RTF
Replies: 6
Views: 332

Re: EditorGadget Problem with RTF

Yes, your code in the 1st post is not runable, PVDynamic_ColorGadget() procedure is missing! Otherwise, deletes ALL .l (long) declarations variables, it will already be better for SetWindowCallback(@WindowCallback(), Window_2), whitout Invalid Memory Access. And deletes the second SetWindowCallback,...
by ChrisR
Wed Apr 10, 2024 5:15 pm
Forum: Bugs - Windows
Topic: [Done] ComboBoxGadget + #PB_ComboBox_Editable
Replies: 7
Views: 476

Re: ComboBoxGadget + #PB_ComboBox_Editable

Yes, it can be an annoying bug It seems to work with this workaround, also with Dialogs EnableExplicit Define W = OpenWindow(#PB_Any, 100, 100, 200, 70, "test") Define A = ComboBoxGadget(#PB_Any, 20, 20, 160, 28, #PB_ComboBox_Editable) AddGadgetItem(A, -1, "Combo_0") AddGadgetIte...
by ChrisR
Sat Apr 06, 2024 3:34 pm
Forum: Tricks 'n' Tips
Topic: Keep Windows Size & Position Between Run (Win)
Replies: 1
Views: 335

Keep Windows Size & Position Between Run (Win)

A module to keep Windows position, size and state (Normal, Minimize, Maximize) between Run with multi-screen support. Based on MS: Positioning Objects on a Multiple Display Setup It's not new, there are probably other codes around... ;-Top ; ----------------------------------------------------------...
by ChrisR
Sat Apr 06, 2024 1:54 pm
Forum: Applications - Feedback and Discussion
Topic: IceDesign GUI designer
Replies: 572
Views: 137378

Re: IceDesign GUI designer

Hi VB6_to_PBx, It works well for enter and escape, not so easy and unusual for PageUp Down on a laptop keyboard. It seems rather specific to me to integrate it, I'm not sure that everyone wants this behavior. For example on a button or on a String with an input check. To change both the tab Order an...
by ChrisR
Fri Apr 05, 2024 2:23 pm
Forum: Applications - Feedback and Discussion
Topic: IceDesign GUI designer
Replies: 572
Views: 137378

Re: IceDesign GUI designer

Yes, yes, I understand the need for the Tab Order, I've made a note of it in my Todo. I haven't really thought yet about how to do it, how to present it... I'll take a look but I'll let it mature, no rush, slowly, slowly :wink: For now, it's pretty easy to do it with a macro and SetWindowPos() Api, ...
by ChrisR
Fri Apr 05, 2024 11:45 am
Forum: Feature Requests and Wishlists
Topic: Keep same CurrentDir if run from taskbar
Replies: 13
Views: 484

Re: Keep same CurrentDir if run from taskbar

Yes, I realized I got carried away after fryquez's comment, my 2 feet were no longer touching the ground. It's just good to take this into account when using files or resources with relative paths. - Using the full path as AZJIO : CreatePreferences(CurDir$ + "~Test.pref") - Or SetCurrentDi...
by ChrisR
Thu Apr 04, 2024 7:32 pm
Forum: Feature Requests and Wishlists
Topic: Keep same CurrentDir if run from taskbar
Replies: 13
Views: 484

Re: Keep same CurrentDir if run from taskbar

I understand about the WorkingDirectory pin shortcut and that it has nothing to do with PB. SetCurrentDirectory(GetPathPart(ProgramFilename())) or other directory does the job. But I'm not sure why MS defines the current directory differently if launched from file explorer, Win+R or from taskbar exp...
by ChrisR
Thu Apr 04, 2024 4:39 pm
Forum: Coding Questions
Topic: WINDOWS issue : How do you include icons into the exe ?
Replies: 12
Views: 502

Re: WINDOWS issue : How do you include icons into the exe ?

That does not make the icon visible so that you can assign specific icons to specific filetypes. To include icons in your exe icon resource, create a .rc file (ex: Icons\Icon.rc) with notepad and with for example: 1 ICON "Icons/ICON1.ico" 100 ICON "Icons/ICON100.ico" Then in com...
by ChrisR
Thu Apr 04, 2024 3:02 pm
Forum: Off Topic
Topic: Google introduces jpegli
Replies: 4
Views: 220

Re: Google introduces jpegli

Looks very interesting on paper with its backwards compatibility, to see if it's adopted by photo, phone manufacturers... standards die hard.
I would like to have a pngli as well :wink:
by ChrisR
Thu Apr 04, 2024 2:05 pm
Forum: Feature Requests and Wishlists
Topic: Keep same CurrentDir if run from taskbar
Replies: 13
Views: 484

Re: Keep same CurrentDir if run from taskbar

hmm, my workaround example is confusing. I don't ask to define the current directory with the directory from which the application loaded. But to keep the same Current Directory, if it's possible!, when a new instance is started from the taskbar! When started from explorer, Execute (Win+R), Taskmgr ...
by ChrisR
Wed Apr 03, 2024 10:04 pm
Forum: Feature Requests and Wishlists
Topic: Keep same CurrentDir if run from taskbar
Replies: 13
Views: 484

Keep same CurrentDir if run from taskbar

Is it possible to keep the same current directory if run from the taskbar context menu (tested in v6.10 :wink: and previous version) ; Workaround, around,... uncomment to start a new program instance while keeping the same CurrentDirectory ;SetCurrentDirectory(GetPathPart(ProgramFilename())) Message...
by ChrisR
Wed Apr 03, 2024 8:57 pm
Forum: Feature Requests and Wishlists
Topic: (Solved in 6.10) Close a minimized window (Win)
Replies: 4
Views: 163

Re: Close a minimized window (Win)

Ha, you're right, it's good now with v6.10. It wasn't the case with previous versions.
I haven't switched yet, I'm still on 6.04 installed and 6.10 available in portable mode.
No need to ask for Feature Requests and Wishlists anymore, Fred and Timo, anticipate them in advance, Great :)
by ChrisR
Wed Apr 03, 2024 6:35 pm
Forum: Feature Requests and Wishlists
Topic: (Solved in 6.10) Close a minimized window (Win)
Replies: 4
Views: 163

(Solved in 6.10) Close a minimized window (Win)

Is it possible to send the #PB_Event_CloseWindow event when closing a minimized window, via right-click and close option from the taskbar context menu. I'm currently bypassing it using a Callcack, it would be good to have it native to get this default behavior. ; Required to receive the #PB_Event_Cl...
by ChrisR
Wed Apr 03, 2024 5:45 pm
Forum: Tricks 'n' Tips
Topic: create icon pack windows
Replies: 24
Views: 887

Re: create icon pack windows

Yeah, probably easier to read, Elon Musk doesn't agree, he prefers Xs :wink: And I don't agree either, the easiest way to read it is not to use the optional parameter :P CreateIconFile(file$,1) And use the default value with the sizes recommended by Microsoft 16, 24, 32, 48 and 256 Not a big deal to...