Does anyone know which GDI API is called to draw menus and menu items on windows? I know its not DrawText, DrawTextEx, TextOut or ExtTextOut.
Thank you for your reply,
I think my original post wasn't too descriptive.
I know about win32 api. I'm using Detours (a library that Microsoft Research released for "detouring" a function in a given application. I don't mean to explain this with detail but what is does is to call your own function anytime the application you "detoured" calls the desired function (usually an api function). This can be used to get notified when a certain program wants to read/write values to and from the registry, files in your hard drive, etc.
I wrote a program that "detours" DrawText, DrawTextEx, TextOut or ExtTextOut (in fact their W versions) and calls the original functions with other parameters (so the given hDC gets drawn with whatever text i want).
The problem i have is that menus stay with their original text (my functions are not called) so I need to know which function(s) windows calls internally to draw menus.
By this i don't mean AppendMenu nor InsertMenuItem. I need the function(s) these call to draw text on screen.
I hope it's better explained now.
Help! I want to create a java program that finds the highest even integer among the values entered by the user. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "No Even Integer"
Here is the sample output that I ...
Hello All ...
Iam Getting An Error With try to excecute the stored procedure .
I have Have Sql database , the stored procedure like so :
USE [MPRS] GO /****** Object: StoredProcedure [dbo].[Search_Licenses_By_Number] Script Date: 26-Nov-16 8:06:52 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE ...
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...