|
by: murlbrown |
last post by:
I am using a class library built by michael kennedy that creates a
system wide hook on the WH_KEYBOARD_LL, but I wanted to changed it to
become a hook for a RichEdit box in another application.
I modified the class keeping a majority of his code, and built a
c#(.net) front end to use this c++ built core library, passing it the
hook type of EM_SETTEXTEX (WM_USER + 97) and the threadID of the
richedit box, his class comes up telling me...
|
by: Dan H. |
last post by:
Hello,
I want to try to retrieve the cursor position x and y relative to the form
the cursor is over.
The way I am doing it now is:
1. Retrieve the left and top position of the form relative to the desktop
2. Retrieve the desktop cursor position.
3. Take the difference of the forms left and top position. Adjust the
desktop cursor position based on this.
|
by: Tantra Veda |
last post by:
Hello C# gurus,
I have a question about finding cursor position in NumericUpDown control. On
my form I have a numericUpDown control with 2 decimal places. I want to
increment value in the numeric box by 1 if my cursor is in front of the
decimal point. If the cursor is after the decimal point, I want to increment
the value by 0.1. How do I accomplish this? Is there a way to find out the
cusror position in the control relative to decimal...
|
by: Ilann |
last post by:
Hi,
I need to get the text cursor position in a richedit Control, ie I want my
ContextMenu to appear exactly where the user is typing text,
Thanks
|
by: objectref |
last post by:
Hi to all,
we have the MousePosition property that we can get the Point of the position
of the mouse cursor on the screen, but is it there a way to get the
respective Point
of a cursor in a TextBox ?? (relative to screen)
I mean, i have a textbox that i write some text and i want to know the exact
point location
of the cursor at any time a character is displayed.
|
|
by: Patty O'Dors |
last post by:
Hi
I'm trying to create an application with a RichEdit control, I found that
CreateWindow always returns a null hWnd unless I call
LoadLibrary("riched20.dll") first (the error code from GetLastError is 1407 -
couldn't find class). This is even when I link with comctl32.lib and call
InitCommonControls.
Do I HAVE to use a DLL if I want to use a richedit control, and more
importantly, do I know that it will be on the target machine, and if...
|
by: Paul |
last post by:
Hi all,
I am making a DirectInput application wich must report correctly the
cursor position in windowed mode (it means it has to be the same as
Microsoft Window´s cursor position).
First of all, I get Windows System Mouse Speed by using the function :
SystemParametersInfo(SPI_GETMOUSESPEED, 0, &m_nMouseSpeed,0);
After I am reading the last Windows cursor position with GetCursorPos.
Then I read all mouse buffered data using...
|
by: Stanley |
last post by:
Hi all! Can somebody tell me how to customize the tab stop position in
a rich text box? Just like we do in MS Word by clicking the ruler! I've
been searching the web but I can't find the answer! Please help me,
thanks in advance!
|
by: mike |
last post by:
I have the opportunity to rescue a project that
uses a mouse to sense the relative position of a machine.
The hardware is built...just needs to be programmed.
Stop snickering!!! I didn't do it...I just gotta fix it.
I need to make some calculations on the measurements
and VB6 is my language.
Yes, the system mouse will corrupt the measurement,
but it's an auditing function and that's acceptable.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|