Skip to Content
author's profile photo Former Member
Former Member

Obtain window handle of a control

Hi all,

someone knows as is possible (or not) obtain the hwnd of a control inside a Business One form ?

Thank's in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 27, 2005 at 11:27 PM

    Hi Frank,

    thank for your interest.

    The problem for my is capturing the drag event over an edittext field and this kind of event is not expose from the UI.

    Did you know if in a future version of a SDK it will possible ?

    If yes, is there a way to personalize the drag and relate menus.

    Thanks Fausto.

    Add a comment
    10|10000 characters needed characters exceeded

    • Fausto,

      First you must have a user log in that has rights to log a DRQ.

      Then you have to go to the SAP Service Market Place (SAP Support Portal) Here is the link:


      Complete DRQ Template

      In order to have a clear & detailed summary SAP needs you to complete the following questions:

      (a) Version: (Please provide the current version)

      (b) Description of Requirements: (Please provide a detailed description)

      (c) Business needs: (Please describe the impact on your business, if the functionality is not realized)

      (d) Examples: (Please describe a typical example, how the functionality should work.)

      (e) Current Workaround: (Please describe the workarounds you are using at the moment)

      (f) Proposed solution: (Please suggest how the new functionality should work)

  • Posted on Nov 26, 2005 at 09:57 PM


    Since the controls are not Windows windows (just try Spy++) there are no Windows handles...

    BTW: I recommend that you better try other ways (especially try to use UI API!) to work with these controls...


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.