nullptr
nullptr
Explore posts from servers
CC#
Created by nullptr on 10/4/2024 in #help
✅ remove dotted border around win32 control in wpf?
got it!! needed to send WM_CHANGEUISTATE to the host, parent and control
4 replies
CC#
Created by Vir Godem on 10/3/2024 in #help
WPF Submenu Styling
i'm assuming you've already tried BorderThickness?
7 replies
CC#
Created by nullptr on 10/3/2024 in #help
win32 island in wpf application has #f0f0f0 background colour
(the only parts in ControlHost which matter in this instance are BuildWindowCore and WndProc, which i'll provide below)
protected override HandleRef BuildWindowCore(HandleRef hwndParent)
{
// this is just for testing to see if command links are the problem (they aren't - the bg is still #f0f0f0)
hwndControl = CreateWindowEx(0, "static", "This half of the window is being rendered by a Win32 island via HwndHost. Notice how the background is #f0f0f0.",
WindowStyles.WS_VISIBLE | WindowStyles.WS_CHILD,
0, 0,
hostWidth, hostHeight,
hwndParent.Handle,
IntPtr.Zero,
IntPtr.Zero,
0);

return new HandleRef(this, hwndControl.DangerousGetHandle());
}

protected override IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
{
handled = false;
return IntPtr.Zero;
}
protected override HandleRef BuildWindowCore(HandleRef hwndParent)
{
// this is just for testing to see if command links are the problem (they aren't - the bg is still #f0f0f0)
hwndControl = CreateWindowEx(0, "static", "This half of the window is being rendered by a Win32 island via HwndHost. Notice how the background is #f0f0f0.",
WindowStyles.WS_VISIBLE | WindowStyles.WS_CHILD,
0, 0,
hostWidth, hostHeight,
hwndParent.Handle,
IntPtr.Zero,
IntPtr.Zero,
0);

return new HandleRef(this, hwndControl.DangerousGetHandle());
}

protected override IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
{
handled = false;
return IntPtr.Zero;
}
3 replies
CC#
Created by Wallace on 10/3/2024 in #help
✅ Doing school HW and am unsure how to fix my issue. Trying to loop through an array with subroutine
its cool!! you too
9 replies
CC#
Created by Wallace on 10/3/2024 in #help
✅ Doing school HW and am unsure how to fix my issue. Trying to loop through an array with subroutine
you'd need to do loopA(cards) to pass it
9 replies
CC#
Created by Wallace on 10/3/2024 in #help
✅ Doing school HW and am unsure how to fix my issue. Trying to loop through an array with subroutine
you're not passing the cards as a parameter to loopA
9 replies
CC#
Created by nullptr on 6/25/2024 in #help
how can i speed up this transparent image rendering in winforms?
yes, i guess
24 replies
CC#
Created by nullptr on 6/25/2024 in #help
how can i speed up this transparent image rendering in winforms?
nope. i'm trying to draw transparent images on top of each other
24 replies
CC#
Created by nullptr on 6/25/2024 in #help
how can i speed up this transparent image rendering in winforms?
the old code does this perfectly
24 replies
CC#
Created by nullptr on 6/25/2024 in #help
how can i speed up this transparent image rendering in winforms?
the issue is, i don't just want a border pattern, the images usually have drop shadows and stuff, and effects inside the border that need to be stretched whilst preserving the outside
24 replies
CC#
Created by nullptr on 6/25/2024 in #help
how can i speed up this transparent image rendering in winforms?
alright, thanks
24 replies
CC#
Created by nullptr on 6/25/2024 in #help
how can i speed up this transparent image rendering in winforms?
i did start a wpf port but i got stuck porting a specific control. any chance u could help?
24 replies
CC#
Created by nullptr on 6/25/2024 in #help
how can i speed up this transparent image rendering in winforms?
like what? i really like the intuitive way winforms works
24 replies
CC#
Created by nullptr on 2/21/2024 in #help
get current windows media player info (playing or paused, current song url, etc) from a .NET app?
and this is a program im writing for myself, and i use WMP lol
6 replies
RReactiflux
Created by nullptr on 9/17/2023 in #react-forum
hot-reload for class-based windowing system
(it doesn't necessarily need to properly hot reload, i just need the window contents to update w/ the component)
2 replies