What means the window message 0xc029? (WinAPI) - winforms

I'm using RegisterShellHookWindow to detect user interaction on windows.
In my WndProc I get the message code: 0xC029.
I looked in WinUser.h but nothing.
What means this message code?
Help

Messages in the range 0xC000..0xFFFF are generated dynamically at runtime using RegisterWindowMessage(), that is why you are not seeing it listed in winuser.h. You can use GetClipboardFormatName() to get the registered name (as RegisterWindowMessage() and RegisterClipboardFormat() use the same atom table).

Related

VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT on swapchain ImageViews

I updated my nVidia drivers and suddenly started getting the following validation error:
VUID-vkCmdDrawIndexed-blendEnable-04727(ERROR / SPEC): msgNum:
-1979288290 - Validation Error: [ VUID-vkCmdDrawIndexed-blendEnable-04727 ] Object 0: handle =
0x5eb05e000000003b, type = VK_OBJECT_TYPE_PIPELINE; | MessageID =
0x8a06751e | vkCmdDrawIndexed: Image view's format features of the
color attachment (0) of the active subpass do not contain
VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT bit, but active
pipeline's pAttachments[0].blendEnable is not VK_FALSE. The Vulkan
spec states: If rasterization is not disabled in the bound graphics
pipeline, then for each color attachment in the subpass, if the
corresponding image view's format features do not contain
VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT, then the blendEnable
member of the corresponding element of the pAttachments member of
pColorBlendState must be VK_FALSE
(https://vulkan.lunarg.com/doc/view/1.3.211.0/windows/1.3-extensions/vkspec.html#VUID-vkCmdDrawIndexed-blendEnable-04727)
Things still render correctly, but I'd like to fix the validation issue.
I am a bit confused as to how I set the VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT flag or if its part of the format vkGetPhysicalDeviceSurfaceFormatsKHR returns.
If it's the former, how do i set it and if it's the latter, how do i draw to it with blending enabled and not get validation errors?
Thank you!
Format features are not something you set; they're limitations that the Vulkan implementation informs you that you must work within. In particular, format features are properties that restrict how you may use any image with a particular combination of format, tiling, and so forth.
Swapchain images are subject to the same limitations as user-created images. The specification details what the equivalent VkImageCreateInfo would be for a particular vkCreateSwapchainKHR call. So those are the parameters you will need to send to vkGetPhysicalDeviceFormatProperties to see if your implementation supports some particular use of the swapchain image.
Blending is such a use. Apparently, whatever format you used to use allowed blending under the old driver, but this changed. And your code never verified that it was allowed.
Well, I missed another validation error that gave me the clue to find the issue. I had to update the VkApplicationInfo apiVersion to VK_API_VERSION_1_3. Leaving the answer here in case it helps anyone else.

Unable to Determine what causes VBA to fail when attempting to load a Form

Here is a full video explanation of the problem.
It begins by throwing up the Autocad Help for some reason.
Then Shows a message that says "Could not load an object because it is not available on this machine"
Then I get a message like this:
The first thing called by Autocad button is showWallTypeManagementForm()
Here is the Code that accompanies that Error Message in the Debugger:
Public Sub showWallTypeManagementForm()
frmWallTypeManager.Show
End Sub
or as a screenshot.
here is the form (frmWallTypeManager) that it is attempting to show:
As per your video, you are attempting to use a 32bit DAO.DLL with a 64bit OS. It is unfortunate but that is one of the DLL's that just cannot be used with 64bit Autocad. From the looks of your form, you are probably getting some information from a database with DAO. This will cause your errors.

To solve warning 'is never used' in WPF

I have declared an event in "Question" class as:
public event SectionAffected OnSectionAffected;
I have not used this event in the entire class.But I have used it in another class as:
Question.OnSectionAffected += new Question.SectionAffected(ResetDependentSection);
I am getting warning as:
The event 'QuestionManager.OnSectionAffected' is never used in Question class.
How to solve this warning?
A warning is just that... a warning. Having warnings is not necessarily a bad thing. However, if you really want to remove it, you can specify that in Visual Studio. If you open the relevant project's property page (by pressing ALT + Enter when the project is focused), turn to the Build tab. Click the RadioButton named Specific warnings and enter the specific error code(s) that you want to supress in a comma separated list. You can find out more from the How to: Suppress Compiler Warnings page on MSDN.
UPDATE >>>
I believe that you are looking for the numerical error code number... for this, you should look in the Output Window of Visual Studio. If you don't already use this window when writing WPF, then I would strongly advise you to do so. However, these codes are not always shown in this window.
As an alternative, you can find descriptions and error codes in the C# Compiler Errors and Code Analysis for Managed Code Warnings pages on MSDN.
UPDATE 2 >>>
After doing a quick search online (which is really what you should have done), I found this page which seems about right: Compiler Warning (level 3) CS0219

WPF application throws an exception after printing to file via doPDF printer

I have made a wpf standalone application for accounting purposes. The application works and prints well to an external printer or microsoft XPS printer. The problem arises when i select doPDF(an application which outputs a pdf file) as printer. The output is just fine; it creates the pdf file and saves it, but, when i come back to the application and press any button, an XamlParseException was unhandled error is thrown which says
'The invocation of the constructor on type 'RegisterMaintenance.DisplayInvoice' that matches the specified binding constraints threw an exception.' Line number '5' and line position '7'
InnerException: Verify that the file exists in the specified location
InnerException: When using relative paths, make sure the current directory is correct
Why is this happening and what can i do to get rid of this problem.
Seems that this pdf printer changes the current directory for the process.
I can think of 2 possible workarounds for your problem.
The first and most obvious workaround for your problem would be to use a absolute path for "Transactions.xml" and store this in your app.config. This might however become problematic if your application is ditributed to various different machines and installed in different locations.
The second workaround is to temporarily store your current working directory before calling the print function, and then restore it afterwards, if it has changed. Something like this:
string path = Directory.GetCurrentDirectory();
//Do the print stuff
Directory.SetCurrentDirectory(path);
Seems like most probable cause is that some resource is not found or already occupied. Please share your code for Line number '5' and line position '7' with us.
You can use your debugger and set a breakpoint on line number 5 where the constructor for RegisteMaintenance.DisplayInvoice is called. Look at the file path being used and fix the problem. Alternately, if you're highly confident it's not a problem you can try/catch and ignore the exception but I don't really recommend that.

DNN: Registered Mark changing to Question Mark

I am having a problem with registered marks in the HTML module.  We need to use the Registered Trademark symbol (®) but some of them are being changed to question marks.  I can find no ryme or reason behind which change and which remain correct.  I have tried a number of things to fix this issue including the following:
Using ® and ®
using <sup>®</sup>
copy and paste of ® in both source and non source
and using the "insert special character" from the RTE menu
Some of the symbols remain but most revert back to question marks.  If i'm in edit mode, the questions marks change back to the registered mark.  Also sometimes the first time viewing the page not logged in or in view mode, they will look fine. But as soon as I got to edit mode or a new page then go back, they change back to question marks.  I am out of idea as to why this is happening.
You can see the page at: http://fasttracsc.twif.net/AboutFastTracSC.aspx  Anywhere you see Fasttrac? it should be Fasttrac®
Any help anyone can provide would be much appreciated.
Thanks in advance.
ok i have found the problem. The Rich Text Editor has a bug ("maybe by design?") that even the source button does not show you raw HTML. The RTE is still rendering the HTML prior to inserting into the database. If you change the RTE to Basic Text Box and edit the HTML there, you are once again able to get a consistent ® symbol using the ® code.

Resources