[Progress Communities] [Progress OpenEdge ABL] Forum Post: data-types for dll's

  • Thread starter Thread starter DenDuze
  • Start date Start date
Status
Not open for further replies.
D

DenDuze

Guest
Hi, I'm trying to make some functions work in Progress of a - like they call it a 'native mode DLL' but I have some problems where I could use some help ;-) The function expects a "Window handle of a text control" As far as I know that means the :hwnd, The problem is that the widget that I use is a System.Windows.Forms.TextBox and there is nu hwnd-property for that so I tried with: define variable phwnd as System.IntPtr no-undo. assign phwnd = TextBox1:handle. Can someone confirm me that this TextBox1:handle is the same as the hwnd of that widget?? If not: how can I get the hwnd of a System.Windows.Forms.TextBox control? The second problem are some other parameters that I need to provide. In the example (VB) I see: Global Const SSCE_IGNORE_CAPPED_WORD_OPT = &H1& Global Const SSCE_IGNORE_MIXED_CASE_OPT = &H2& Global Const SSCE_IGNORE_MIXED_DIGITS_OPT = &H4& I converted these to &global define ... But how must I convert the values??? I guess &H1& will not work in Progress Also the function that I want to use expects the following as a input parameter: Options bit-mask As far as I understand that is a combination of all global Const (see above) that I want to use, so for example &H1& and &H4&. So I guess I will need to sum up all the wanted values. I'm I correct here? Hope someone can help here because I only get the error that the data-types do not match but no idea what parameter is wrong (the hwnd or the option bit-mask) regards Didier

Continue reading...
 
Status
Not open for further replies.
Back
Top