Search:
Type: Posts; User: flavour404
Search:
Search took 0.02 seconds.
-
June 18th, 2009, 05:04 PM
Hi,
Can someone suggest an alternative method to replace scrollIntoView() which no longer works in IE 8 - why does ms do that...??? Here is the code:
if (fPub.length > 0) {
for...
-
Hi,
Any SCAR programmers out there? First time that I have ever seen SCAR and want to convert a mouse macro... I starting having a go at it but got a little confused. Anybody want to give it a...
-
Thanks, i'll check out the suggestions. Thanks.
-
Hi,
I have an input box, on an app I am developing, that should take an IP Address. How do you set the formatting on a text box so that they can only type in a valid ip address?
I would have...
-
Hi,
I have a LPCWSTR value being passed to a function and I would like to take the associated value (as LPCWSTR is a pointer to a wide string) and feed it into a struct, which I am going to pass...
-
Hi,
I have a c++ dll, from which I am installing a cbt hook so I know when they have been moved.
My question is, I have a global (bad programmer) var in my DLL: HWND xWindow = NULL; which I am...
-
Hi,
In a c++ dll I am setting up a copydatastruct as follows:
enum MessageType
{
HCBT
-
Hi,
I'm trying to set up a process specific hook.
unsigned long procID;
HWND targetWnd;
targetWnd = ::FindWindow(NULL, L"Untitled - Notepad");
-
Well its for work. We follow stocks and shares on various sites and compile the figures. Very legit and very real. I would like to set up an app that reads these figures and collates them in an...
-
Its just an experiment, I can do it by subclassing the notepad window, but I was wondering if I could achieve the same thing by using the CBT hook, but so far I seem unable to get it to work.
'why...
-
April 30th, 2009, 09:18 PM
Hi,
From a c# app, can I hook another window, such as an intance of notepad. I'm interested in installing a WH_CBT hook and wonder if I can do it from my app?
I want to know when it is moved,...
-
April 30th, 2009, 08:51 PM
Hi,
Trying to use GetCurrentThreadID() in a project and I keep getting the message CXX0017: Error: symbol "GetCurrentThreadId" not found.
What would cause this, common function?!
Any ideas....
-
April 30th, 2009, 04:33 PM
Hi,
I am experimenting with hooking and have read teh ms docs on installing a WH_CBT hook.
My question is, I am in the address space of a program and want to set a CBT hook on a local window. ...
-
April 27th, 2009, 03:15 PM
Well, I put the line: LPCWSTR strDataToSend = x; in in an attempt to show what I was trying to do because I had failed in my earlier communication attempts.
I am a java/web programmer and just...
-
April 24th, 2009, 08:33 PM
Hi,
I'm sorry if I am not explaining myself. WPARAM will be a single character. What I have done is inject a dll into a running notepad process and then subclassed the edit window. What I am...
-
April 24th, 2009, 05:24 PM
Ok,
So looking at the docs for wsprintf c is a single character:
c Single character. This value is interpreted as type WCHAR if the calling application defines Unicode and as type __wchar_t...
-
April 24th, 2009, 05:06 PM
I tried this (below), I get the correct character, but followed by a lot of what I can only assume to be null characters... Sorry to be hacking at this but I am trying to learn the intricacies of...
-
April 24th, 2009, 04:49 PM
Vlad: LPCWSTR strDataToSend = (LPCWSTR)x; causes the program to crash.
005: wchar_t strDataToSend[32];
wsprintf(strDataToSend, L"%u", x); results in a numerical value being sent to the...
-
April 24th, 2009, 03:06 PM
You are correct. My receiving code works, for example if I just set my message to send = _T("this message"); it is displayed correctly on the receiving end.
My question really is, how to I take...
-
April 23rd, 2009, 09:12 PM
This is my actual function, i'm trying to facilitate IPC, which works its just that I can't send the param value!
void DespatchMessage(WPARAM x){
if (hWnd)
{
...
-
April 23rd, 2009, 07:22 PM
Hi,
As stated in my title, I am trying to take the value in the WPARAM var and convert it to a LPCWSTR. How can I do this?
I have looked for an example but nothing seems to work. I have tried...
-
April 21st, 2009, 06:35 PM
Hi,
I have written a c++ dll which sends my c# app a message - this is the dll:
COPYDATASTRUCT cds; //The structure used to send data.
char message[50];
...
-
April 21st, 2009, 04:20 PM
Skizmo;
Forgive my c ignorance, but how do I take the value rather than the pointer itself?
Thanks.
-
April 21st, 2009, 04:03 PM
Hi,
I am trying to populate a COPYDATASTRUCT struct with a string message and then send it to another form. The dll I am using is written in c++. I am not a c++ programmer so forgive me poor...
-
November 20th, 2008, 10:59 PM
Hi,
I am interested in using a hash map in order to speed up my search on a load of information. My question is, and I am new to c++ is can I store 2x entried in each map 'slot?' I want an...
|
Click Here to Expand Forum to Full Width
|