get data pointer in window

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Hi,

      You can use the routine GUI_MEMDEV_CreateWindowDevice() to create a memory device of a window. The code below draws the window into a memory device and draws the memory device onto the screen. Note that you have to deselect the window after calling GUI_MEMDEV_CreateWindowDevice().

      C Source Code

      1. hMem = GUI_MEMDEV_CreateWindowDevice(hListview);
      2. WM_SelectWindow(0);
      3. GUI_MEMDEV_Write(hMem);

      Best regards,
      Florian
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.