Im SubClassing the App to intercept windows messages...
lngOriginal_Window_Procedure = SetWindowLong(Handle, GWL_WNDPROC, AddressOf WindowProc)
The SendMessage API 'lParam' is declared as Any, however when using the WindProc Procedure it is declared as Long..
Public Function...
If I place my mouse over a link in the WebBrowser Control and right click on the page I can select 'Open in new window'
I can prevent this occuring with...
Private Sub WB1_NewWindow2(ppDisp As Object, Cancel As Boolean)
Cancel = True
End Sub
What I am trying to do is obtain the URL that the...
I found this on the www.web and tweaked it a little. After seeing many discussions on this I thought I'd share it with you. Open a new project, add a MSHFlexgrid Control and the following code...
Option Explicit
Private Declare Function LockWindowUpdate Lib "user32" (ByVal...
I read the reame and it says..
3.4 Install MSDE 2000 Release A
Run Desktop Engine Setup.exe to install MSDE 2000 Release A.
I click the setup.exe and i get a msgbox saying...
>A strong SA password is required for security reasons.
>Please use SAPWD switch to supply the same. Refer to the...
I read the reame and it says..
3.4 Install MSDE 2000 Release A
Run Desktop Engine Setup.exe to install MSDE 2000 Release A.
I click the setup.exe and i get a msgbox saying...
>A strong SA password is required for security reasons.
>Please use SAPWD switch to supply the same. Refer to the...
Ive searched everywhere, Im trying to draw a picturebox using API, something like this listbox...
list1 = CreateWindow("ListBox",NULL,WS_CHILD | WS_VISIBLE | WS_VSCROLL | LBS_NOTIFY,5,130,140,100,hwnd,(HMENU)ID_LIST1,g_hInst,0);
I would define something similar to ID_LIST1, say...
How do I create a PictureBox using win32API like the ListBox below?
list1 = CreateWindow("ListBox",NULL,WS_CHILD | WS_VISIBLE | WS_VSCROLL | LBS_NOTIFY,5,130,140,100,hwnd,(HMENU)ID_LIST1,g_hInst,0);
HWND pHwnd;
pHwnd = createwindow?
Can anyone tell me how to make a 'Custom Icon' appear with your link when a user add's your url to their Favourites list instead of the standard html icon?
How can i get the HWND from the previously running app?
I can call a function to find out if there is a prevoius instance of my app. running but Im trying to find the HWND of that previous instance, any ideas?
From the hPreviousInstance ?
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE...
Im using this function to save text but I get an error when allocating the size of the char... LPSTR pszText
(It worked fine in a different project??)
I know this is basic, Im new to c++
Thanks in advance for the help, I will respond to your reply(s).
BOOL SaveTextFileFromEdit(HWND edit...
#include <iostream.h>
void multiply(int &number, int &numberTwo); //Prototype
int main()
{
int a,b;
long int answer;
cout<<"Enter two numbers separated by spaces: ";
cin>>a>>b;
answer=multiply(a,b); //"answer" gets the return from the second variable as its value...
I want to be able to view a certain tab using the SSTab control, for example after I load text into a textbox I want to be able to tab to the corresponding tab to view the text. Thankyou in advance.
I add a tab to the Tabcontrol...
Tab1.Tabs.Add Index, Key, Caption
How do I select the new tab to show the contents of the tab(without clicking on it)? Thanks in advance!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.