Search found 115 matches

by DigiDon
20 Feb 2018, 13:55
Forum: Ask For Help
Topic: SendMessage invalid parameters
Replies: 15
Views: 216

Re: SendMessage invalid parameters

Alright thanks for the tests just me ! But as you said if it's not working on previous versions of windows I guess I'll abandon the idea. The goal here was to be able to add/delete columns in a table. I really can't understand why they did not provide a way to do it... I guess there could be complic...
by DigiDon
16 Feb 2018, 07:39
Forum: Scripts and Functions
Topic: [Function] Force Text Wrap GUI
Replies: 1
Views: 318

Re: Force Text Wrap GUI

UPDATE 16/02/2018 : NEW REGEX FUNCTIONS AS ALTERNATIVE
Was my regex excercise ! :D
by DigiDon
15 Feb 2018, 19:14
Forum: Ask For Help
Topic: How can I do this while loop in 1 line
Replies: 2
Views: 68

Re: How can I do this while loop in 1 line

Right, seems simple that way :)
I thought I was missing the syntax to set it up directly but I guess that means it is not so easy.
Anyway, the trick seems fine, many thanks !
by DigiDon
15 Feb 2018, 16:27
Forum: Ask For Help
Topic: How can I do this while loop in 1 line
Replies: 2
Views: 68

How can I do this while loop in 1 line

Hi, Seems like a simple question but I wasn't able to come with the right syntax. I would like something like while the regexmatch is not null and <= LengthLim, store it in TempFoundDelimPos and do ... while (TempFoundDelimPos:=regexmatch(TextToWrapNew,P_RegexDelim,,CurrPos)<=LengthLim) { ... } Inst...
by DigiDon
15 Feb 2018, 14:07
Forum: Scripts and Functions
Topic: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (15.02.2018)
Replies: 16
Views: 447

Re: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (15.02.2018)

OK great news ! I suppose it is better to put a full example rather than the function and separate doc. I guess you ran the function code directly which caused the weird things. Thanks, I hope it will be helpful indeed. If you can please test a bit the two functions and tell me if you see flickering...
by DigiDon
15 Feb 2018, 09:08
Forum: Scripts and Functions
Topic: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (15.02.2018)
Replies: 16
Views: 447

Re: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (15.02.2018)

Minor corrections.
15.02.2018 - 15h UTC+1
  • Correction: Icons of drives, directories and files without ext are better dealt with
  • Included the full example to the fuction
  • Moved VarSetCapacity to protect the DllCall better
by DigiDon
15 Feb 2018, 08:45
Forum: Scripts and Functions
Topic: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (15.02.2018)
Replies: 16
Views: 447

Re: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (14.02.2018)

Unrelated but I've noticed there is a small bug for the icons of the drives though, I'm working on it.

And even if there shouldn't be an error I'll try to make really sure the VarSetCapacity is fine.
by DigiDon
15 Feb 2018, 08:36
Forum: Scripts and Functions
Topic: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (15.02.2018)
Replies: 16
Views: 447

Re: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (14.02.2018)

Hi burque505, I'm surprized. I've tested again from the sample in this very topic and it's working fine. Are you sure you put first the testing sample and then the function (outside autoexecute) ? PS: just in case I switched the examples so that you choose a file in C: first. Please try the complete...
by DigiDon
14 Feb 2018, 18:15
Forum: Scripts and Functions
Topic: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (15.02.2018)
Replies: 16
Views: 447

Re: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (14.02.2018)

I've made some changes and it seems the single line WinWaitClose of the example does not work anymore because the Gui is hidden at first. So the calling of the function has to be modified. I'm on the same environement so it works but please confirm ;) I've updated the OP. #NoEnv ; Recommended for pe...
by DigiDon
14 Feb 2018, 18:00
Forum: Scripts and Functions
Topic: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (15.02.2018)
Replies: 16
Views: 447

Re: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (14.02.2018)

Hi burque505,

Thanks for notifying me! ;)

I already implemented it in a project and therefore am making modifications in it directly before trying to put them back on there.

Truth is I was surprized nobody complained of a problem :lol:

I'll take a proper look, will soon update.
by DigiDon
14 Feb 2018, 16:55
Forum: Scripts and Functions
Topic: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (15.02.2018)
Replies: 16
Views: 447

Re: [GUI] FileSelect alternative - Customize / Restrict to a specific folder (14.02.2018)

14.02.2018 - 23h UTC+1
  • Correction: if multiselection and type folder: skip files
by DigiDon
14 Feb 2018, 14:53
Forum: Ask For Help
Topic: SendMessage invalid parameters
Replies: 15
Views: 216

Re: SendMessage invalid parameters

One of my thought is that it might not be implemented in 4.1 but ... it would be very weird...
Can you confirm the results on win10?
by DigiDon
14 Feb 2018, 14:48
Forum: Ask For Help
Topic: SendMessage invalid parameters
Replies: 15
Views: 216

Re: SendMessage invalid parameters

What a deception ! :( I've finally tried EM_SETTABLEPARMS, as the original goal was to see if I could simply add a column (so in MS jargon a cell for each row). How foul I was ! I thought we were close because even if a bit weird the EM_INSERTTABLE and EM_GETTABLEPARMS were both working. And the EM_...
by DigiDon
14 Feb 2018, 07:30
Forum: Ask For Help
Topic: SendMessage invalid parameters
Replies: 15
Views: 216

Re: SendMessage invalid parameters

It says 41.21 which I assume means 4.121?
EDIT: I have seen this on a website
msftedit.dll 5.41.21.2510 Rich Text Edit Control, v4.1

So I huess this is where the 41.21 comes from.
Strange then that the structure size has to be different from documented
by DigiDon
13 Feb 2018, 12:55
Forum: Ask For Help
Topic: SendMessage invalid parameters
Replies: 15
Views: 216

Re: SendMessage invalid parameters

Thanks just me, sorry about the stupid mistakes I guess I got tired... Good news I managed to make them work. However it's not very clear why. It seems I needed to use the capacity of RichEdit >4.1 even though I'm on Win7 so I have to investigate. Also RN_GetTableParams seems to only work when you p...
by DigiDon
13 Feb 2018, 12:15
Forum: Ask For Help
Topic: RichEdit : New Features to All
Replies: 14
Views: 354

Re: RichEdit : New Features to All

To make some precisions, I'm still struggling to understand all the OLE inside-working. It's hard to understand and doc is very scarce. So I still have some topics right now I am currently unable to do/understand: ⋅ Directly display with drag and drop ⋅ React to an object on righ...
by DigiDon
13 Feb 2018, 12:06
Forum: Ask For Help
Topic: RichEdit : New Features to All
Replies: 14
Views: 354

Re: RichEdit : New Features to All

Hi kczx3, Yes that's something we were working on as Drag and Drop doesn't seem to display content directly and it's hard to figure out why. Other works on that in different languages often have the same behaviour. Nevertheless if you D&D in Word, save as rtf and open it it with AHK RichEdit wil...
by DigiDon
13 Feb 2018, 11:24
Forum: Tutorials
Topic: AHK Benutzerobjekte und Klassen - Grundbegriffe
Replies: 34
Views: 427

Re: AHK Objekte und Klassen - Grundbegriffe (Baustelle)

Gute Idee! Ich möchte gern darüber Kenntnisse erwerben.
Scheint sehr interessant :thumbup:

Ich hoffe dass, jemand das auf English einmal übersetzen wird ;)
(Mein Deutsch ist sehr begrenzt)

Aber ich werde bald versuchen, das zuerst zu verstehen. Es wäre eine gute Herausforderung! ;)
by DigiDon
13 Feb 2018, 11:03
Forum: Ask For Help
Topic: SendMessage invalid parameters
Replies: 15
Views: 216

Re: SendMessage invalid parameters

And same problem with EM_INSERTTABLE, just to check RN_InsertTableMS: EM_INSERTTABLE := 0x400 + 232 ; EM_SETTABLEPARMS := 0x400 + 307 ;***************************** ; EM_INSERTTABLE message ; Returns S_OK if the table is inserted, or an error code if not. ; https://msdn.microsoft.com/en-us/library/w...
by DigiDon
13 Feb 2018, 10:56
Forum: Ask For Help
Topic: SendMessage invalid parameters
Replies: 15
Views: 216

Re: SendMessage invalid parameters

For the values inside the same DWORD I think I understood most but I'm not sure how to integrate the nAlignement. I tried this: ;TRIED SEVERAL COMBINATIONS ; nAlignment:= 0x0003 ;(bit 1) ; nAlignment:= 1>>1 ;(bit 1) nAlignment:= 1 ;(bit 1) fIdentCells := 128 ; 1 >> 7 (bit 7) ;SHOULD IT BE LIKE THIS ...

Go to advanced search