Jump to content

ahmet

Active Members
  • Posts

    315
  • Joined

  • Last visited

  • Days Won

    2

ahmet last won the day on August 21

ahmet had the most liked content!

About ahmet

  • Birthday 08/18/1992

Profile Information

  • Location
    Bosnia and Herzegovina

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ahmet's Achievements

  1. To each window handle you can assign specific proprety name, ie. "Object". To that propetry you should assign pointer to the object. Later, whenever you have handle to a window or control you get the corresponding objct via the _WinAPI_GetProp(). I am not sure if this is the access you wanted.
  2. How would you like to access them or what is the usual way?
  3. What about using SetPropW and GetPropW as is being done here?
  4. What about using GUIRegisterMsgEx or GUIRegisterMsg20? It should be possible to add more actions to controls easier. I think there is one more implementation beside _GUIRegisterMsgEx (UDF) - Like native, but for controls but I can not find that now.
  5. What about follwoing $tLOGFONT.Height = Ceiling(($fNewDPI / $fPrevDPI) * (DllStructGetData($tTEXTMETRIC, "tmHeight")) - $tTEXTMETRIC.tmAscent - $tTEXTMETRIC.tmDescent)
  6. You do not need to change font mapping.. When you get MS Shell Dlg you read a registry value of the "Ms Shell Dlg" key. You do not modify registry entry. At this point I do not have much time to test that scaling issues that you have but I would like. This project looks interesting to me. After you assign the value to Height member have you cahecked its value and the value of the next element in the structure?
  7. I suppose that using substitution from registry is the correct way. Can you investigate how other applications handle that?
  8. @WildByDesign Have you checked Map the Logical Fonts for getting the right font for MS Shell Dlg?
  9. @bladem2003 Do you have any specific nedd for a scrollbar control. There is pager control. Scroll bar control can be generated separatelly. If you have any further questions you should probably start new thread. #include <WinAPISysWin.au3> #include <WindowsConstants.au3> #include <GuiScrollBars.au3> $hMain=GUICreate("Test") _WinAPI_CreateWindowEx(0,"SCROLLBAR","",BitOR($WS_CHILD, $WS_VISIBLE, $SB_VERT),10,20,20,200,$hMain,0,0,0) GUISetState() While 1 Switch GUIGetMsg() Case -3 Exit EndSwitch WEnd
  10. I did not spot any issues with the Dialog_Box_Resources.au3. There is high CPU usage with the generated files becuse of While loop without Sleep. Once you put sleep in the generated file CPU usage drops.
  11. Dialog Box Resources can create file with the dialog resource. That way you can have an exe with only the resource. What is your goal?
  12. I suppose that you need to save font.dlg to the resource of the exe file. There is ResHacker project that might assit you into adding that template into exe file.
  13. There is example by funkey for changing MsgBox and FileOpenDialog border color if I am not mistaken. Somebody updated those to work with some newer OS.
  14. What about painting the rectangular region in white opaque color and the drawing that same region with the background color? If you paint with the white brush and then paint with original transparent brush you will get the original color.
×
×
  • Create New...