ahmet
Active Members-
Posts
306 -
Joined
-
Last visited
-
Days Won
1
ahmet last won the day on May 6 2012
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
-
WildByDesign reacted to a post in a topic:
How can I run ChooseFont dialog with custom Font.DLG using lpTemplateName?
-
WildByDesign reacted to a post in a topic:
Custom Dark Mode ChooseColor Dialog Hook
-
Custom Dark Mode ChooseColor Dialog Hook
ahmet replied to WildByDesign's topic in AutoIt GUI Help and Support
I think FunSkin is the topic. -
WildByDesign reacted to a post in a topic:
Custom Dark Mode ChooseColor Dialog Hook
-
Custom Dark Mode ChooseColor Dialog Hook
ahmet replied to WildByDesign's topic in AutoIt GUI Help and Support
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. -
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.
-
argumentum reacted to a post in a topic:
DarkMode: Any way to add custom icons to Toolbar with _GUICtrlToolbar_AddButton?
-
WildByDesign reacted to a post in a topic:
DarkMode: Any way to add custom icons to Toolbar with _GUICtrlToolbar_AddButton?
-
What about this $hPen1=_GDIPlus_PenCreate(0XFF00AA00) $hPen2=_GDIPlus_PenCreate(0XFF0000FF) $hBitmap=_GDIPlus_BitmapCreateFromScan0(48,48,$GDIP_PXF32ARGB) $hImageGfx=_GDIPlus_ImageGetGraphicsContext($hBitmap) ;draw some random shapes _GDIPlus_GraphicsDrawRect($hImageGfx,10,5,15,8,$hPen1) _GDIPlus_GraphicsDrawEllipse($hImageGfx,5,20,20,25,$hPen2) Local $hIcon = _GDIPlus_HICONCreateFromBitmap($hBitmap) _GDIPlus_PenDispose($hPen1) _GDIPlus_PenDispose($hPen2) _GDIPlus_GraphicsDispose($hImageGfx) $hHBITMAP=_WinAPI_Create32BitHBITMAP($hIcon,True) ; Create normal image list Local $hNormal = _GUIImageList_Create($iW, $iW,5) ;_GUIImageList_Add($hNormal, _WinAPI_CreateSolidBitmap($hGUI, 0xFF0000, $iW, $iW)) ;_GUIImageList_Add($hNormal, $hHBMPBack) $iAdd1=_GUIImageList_Add($hNormal, $hHBITMAP) _GUIImageList_Add($hNormal, $hHBMPForward) _GUIImageList_Add($hNormal, $hHBMPUp) You can load image from file with _GDIPlus_BitmapCreateFromFile.
-
WildByDesign reacted to a post in a topic:
DarkMode: Any way to add custom icons to Toolbar with _GUICtrlToolbar_AddButton?
-
Adding different language support to a GUI
ahmet replied to Bert's topic in AutoIt General Help and Support
Try saving ini file with UTF 8, but I am almost certain that it will not work. I can bot test that. If that fails there are is some ini file udf which should resolve that issue. -
WildByDesign reacted to a post in a topic:
DarkMode: Any way to add custom icons to Toolbar with _GUICtrlToolbar_AddButton?
-
WildByDesign reacted to a post in a topic:
Need help with GDI+ line curve or arc
-
Need help with GDI+ line curve or arc
ahmet replied to WildByDesign's topic in AutoIt GUI Help and Support
Can you draw entire rouned rectangle at once? Func _GDIPlus_PathAddRoundedRect($hPath, $nX, $nY, $nWidth, $nHeight, $nRadius) ;when adding arc $nX and $nY are coordinates of the entire circle, not only the coordinates of the arc segment Local $fP2X=$nX+$nRadius, $fP2y=$nY Local $fP3X=$nX+$nWidth-$nRadius, $fP3Y=$nY Local $fP4X=$nX+$nWidth-2*$nRadius, $fP4Y=$fP2y Local $fP5X=$nX+$nWidth, $fP5Y=$ny+$nRadius Local $fP6X=$fP5X, $fP5Y=$nY+$nHeight-$nRadius Local $fP7X=$fP4X, $fP7Y=$nY+$nHeight-2*$nRadius Local $fP8X=$fP7X+$nRadius, $fP8Y=$nY+$nHeight Local $fP9Y=$fP8Y-2*$nRadius _GDIPlus_PathStartFigure($hPath) _GDIPlus_PathAddArc($hPath,$nX,$nY,2*$nRadius,2*$nRadius,180,90) _GDIPlus_PathAddLine($hPath,$fP2X,$fP2Y,$fP3X,$fP3Y) _GDIPlus_PathAddArc($hPath,$fP4X,$fP4Y,2*$nRadius,2*$nRadius,270,90) _GDIPlus_PathAddLine($hPath,$fP5X,$fP5Y,$fP6X,$fP5Y) _GDIPlus_PathAddArc($hPath,$fP7X,$fP7Y,2*$nRadius,2*$nRadius,0,90) _GDIPlus_PathAddLine($hPath,$fP8X,$fP8Y, $fP2X, $fP8Y) _GDIPlus_PathAddArc($hPath,$nX,$fP9Y,2*$nRadius,2*$nRadius,90,90) _GDIPlus_PathCloseFigure($hPath) EndFunc -
WildByDesign reacted to a post in a topic:
DarkMode: Any way to add custom icons to Toolbar with _GUICtrlToolbar_AddButton?