Search:
Type: Posts; User: DaveDavis
Search:
Search took 0.04 seconds.
-
OK, I figure out.
I have to subclass WM_KILLFOCUS in my children control as well.
-
In C#, WinForms has Control.Enter and Control.Leave event we can used. But how to RaiseEvent Enter and Leave in ActiveX control? I want to implement both in my VB6 ActiveX control and my ATL version...
-
in c#, there're Control.Enter and Control.Leave.
I want to Fire Fire_Enter and Fire_Leave events for my ATL control and do something (Show/Hide children).
-
I just experienced this annoying message during VB6.exe launching.
I unregister DATAVIEW.DLL to turn vb6.exe silent.
-
OK, I close this thread and will more a proper thread.
Sorry for inconvenience.
-
agreed through it is ATL c++.
-
Usage:
error C3867: 'ucControl::NotificationParentWindowDestroyed_HandleDestroyedCallback': function call missing argument list; use...
-
I tried to add those .h related to dwmapi.h, but I got lots of errors because they are nested.
OK, I close this thread because Visual Studio 2005 doesn't directly include support for the DWM...
-
handphone also got Language setting, you try to change to prefer one.
-
I follow ChatGPT, but I still got error 'fatal error C1083: Cannot open include file: 'dwmapi.h': No such file or directory'
-
Does VS2005 support the latest SDK?
I search it, it located at:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\dwmapi.h
I will try to include in my VS2005 project.
-
my special case is not draw an arrow, it is arrow shape window for an insert mark which is floating on screen.
I think it is more about math scale and transform for polygon points(6). Olaf do a...
-
-
I formed the shape by SetWindowRgn. Then I use GDI+ Fill the color, the result is 'almost' the same. So, the problem may come from my algorithm。
Private Sub CreateScaledPolygonArrow()
...
-
I need draw a insert mark on top or outside of my control. The insert mark is an arrow which formed by CreatePolygonRgn then created a special shape window by SetWindowRgn. Please refer my post #2.
...
-
do you mean Visual Studio 2005 SDK?
-
Not sure what is your mean.
I didn't directly draw the polygon arrow, please make this special window Picture1 anti-aliasing.
CreatePolygonArrow
Picture1.BackColor = vbRed
...
-
I want to draw modern shadow for a Dropdown Topmost window, but I don't know how to add this header file in VS2005 for my ATL project. Where is this Header file and how to add it?
#include...
-
A senior told me if we develop an ActiveX, we should use ATL in VS2005. After completion of coding, we can use VS2022 for compiling. But I forgot the reason in details. Is it related with compatible...
-
Not only anti-aliasing, I create a special shaped window by call SetWindowRgn API.
-
I don't know how to use GDI+ for my case of SetWindowRgn call.
CreatePolygonArrow
Picture1.BackColor = vbRed
SetWindowRgn Picture1.hwnd, hRgn, True
-
I add sample code for your kind test.
Option Explicit
Private Type POINTAPI
x As Long
y As Long
End Type
-
how to stretch the below Arrow region 'nicely' by a factor g_DpiScaleFactor (such as 1.75)?
I tried but it is not nice without all directions are equvalently increased.
Refer to attached...
-
-
btw, what is "TDI“ represent?
-
Can you please give this screenshots?
-
Morning, We can't see both screenshots.
-
Thanks, We can read/write registry by temporarily set the value to 1, after app called "old style" Print Dialog, then restore original registry setting in our program.
-
In .NET, when I set bit .UseEXDialog = false, it also turns out a traditional style or run the exe file set "Run as Administrator".
Also in .NET, at least, in my application, the modern print dialog...
-
Yes, I used .NET for testing.
I just test VB6, I am using Krool's class CommonDialog.cls by calling ShowPrinterEx, the print dialog is new style, but test OK without such issue.
-
In Windows 11 22H2, Microsoft has replaced the legacy Print Dialog for all classic (win32) apps, e.g., Notepad, WordPad, Notepad++, etc., with a new dialog. Earlier, this dialog was available only...
-
Thank you very much for this tips. I used RC6 in few VB6 projects to use one of functionalities of SortedDictionary, now I am on the way to convert my VB6 controls to ATL, after I finish the ATL...
-
PSC has this kind of colorful code: HTMLLabel, but it is just a conceptual code, in the real work, it is more complex.
-
it is really magic and powerful.
When the form resize to minimum, "Monster" & ChrW(160) & "Girl" lost Red color. Is it normal?
Can those dlls including RC6.dll etc. being used in C++ ATL? If so,...
-
I am not sure. ChatGPT gives different and confused answers.
_bstr_t PropFileName = L"MyConfigures.xml";
STDMETHODIMP CMyControl::get_FileName(BSTR* pVal)
{
*pVal = PropFileName.copy();...
-
OK, I just open the file using Notepad to read some codes. It is worth nothing to do compiling.
-
oh, it is very nice. My project is using c++ 14, no wonder I didn't see it. Thank you Sir.
-
Sorry, I am confused too. My seniors told me so without evidence.
-
STDMETHODIMP CMSTCtl::get_Text(BSTR* pVal)
{
_bstr_t bText = m_EditCtl.GetText();
*pVal = bText.GetBSTR();
return S_OK;
}
STDMETHODIMP CMSTCtl::get_Text(BSTR* pVal)
{
_bstr_t...
-
Thank you Sir. Nice to get your input.
In VB.NET, I use Strings.Format. In C#, I am using double.ToString(myformat) to do formatting. But I have no idea how to do same thing in vc++ ATL.
I can't...
|
Click Here to Expand Forum to Full Width
|