Click here to Skip to main content
15,917,991 members
Home / Discussions / C#
   

C#

 
GeneralSimple Database App - Combobox + DataGrid Pin
hollowMedia [0xFA7E]11-Feb-05 1:32
hollowMedia [0xFA7E]11-Feb-05 1:32 
GeneralRe: Simple Database App - Combobox + DataGrid Pin
hollowMedia [0xFA7E]15-Feb-05 1:05
hollowMedia [0xFA7E]15-Feb-05 1:05 
GeneralIIS Virtual Directories Enumeration Pin
Filipe Peixinho11-Feb-05 1:12
Filipe Peixinho11-Feb-05 1:12 
GeneralCDO: Synchonize Exchange with Outlook Pin
swissglide11-Feb-05 0:17
swissglide11-Feb-05 0:17 
QuestionHow can I open Web page in Microsoft Web Browser through ATL Pin
devom11-Feb-05 0:06
devom11-Feb-05 0:06 
AnswerRe: How can I open Web page in Microsoft Web Browser through ATL Pin
Dave Kreskowiak11-Feb-05 4:17
mveDave Kreskowiak11-Feb-05 4:17 
GeneralCF memory leaks :-( :-( Pin
zuschauer198010-Feb-05 23:44
zuschauer198010-Feb-05 23:44 
GeneralRe: Serialize a String Pin
Nish Nishant10-Feb-05 22:12
sitebuilderNish Nishant10-Feb-05 22:12 
GeneralWSE Client Pin
qur10-Feb-05 21:13
qur10-Feb-05 21:13 
GeneralLose data on a TextBox Pin
sasan5610-Feb-05 20:48
sasan5610-Feb-05 20:48 
Generalget current row Pin
sasan5610-Feb-05 20:36
sasan5610-Feb-05 20:36 
GeneralKeyPress .... Pin
mitreviper10-Feb-05 20:36
mitreviper10-Feb-05 20:36 
GeneralRe: KeyPress .... Pin
Stefan Troschuetz10-Feb-05 21:14
Stefan Troschuetz10-Feb-05 21:14 
GeneralWin32_Process Pin
skrishnasarma10-Feb-05 17:08
skrishnasarma10-Feb-05 17:08 
GeneralRe: Win32_Process Pin
Dave Kreskowiak11-Feb-05 4:13
mveDave Kreskowiak11-Feb-05 4:13 
GeneralRe: Win32_Process Pin
skrishnasarma13-Feb-05 16:49
skrishnasarma13-Feb-05 16:49 
GeneralRe: Win32_Process Pin
Dave Kreskowiak13-Feb-05 17:08
mveDave Kreskowiak13-Feb-05 17:08 
GeneralRe: Win32_Process Pin
skrishnasarma13-Feb-05 17:29
skrishnasarma13-Feb-05 17:29 
GeneralRe: Win32_Process Pin
Dave Kreskowiak13-Feb-05 17:51
mveDave Kreskowiak13-Feb-05 17:51 
GeneralRe: Win32_Process Pin
skrishnasarma13-Feb-05 22:39
skrishnasarma13-Feb-05 22:39 
GeneralC# solution compiler Pin
mikker_12310-Feb-05 15:30
mikker_12310-Feb-05 15:30 
GeneralRe: C# solution compiler Pin
Andy Brummer10-Feb-05 16:23
sitebuilderAndy Brummer10-Feb-05 16:23 
GeneralPassing window handle from 'Form' class to a winapi function (WTOpen of wintab32.dll) Pin
Muhammad Nadir Khan10-Feb-05 15:30
Muhammad Nadir Khan10-Feb-05 15:30 
I used the 'Handle' property of Form class to pass the window handle of my form to a winapi function, namely, 'WTOpen' used for opening a tablet context (present in wintab32.dll). This function returns a handle to the opened context. The problem is that this function is not opening a context (returning 0). I have imported the unmanaged function in the following way:

[DllImport("wintab32.dll")] public static extern HCTX WTOpen(IntPtr hWnd, ref LOGCONTEXT lpLogCtx, bool fEnable);
where HCTX is of type IntPtr.

The function prototype is as follows:

HCTX WTOpen(hWnd, lpLogCtx, fEnable)
where hWnd -- HWND Identifies the window that owns the tablet context, and receives messages from the context.
lpLogCtx -- LPLOGCONTEXT Points to an application-provided LOGCONTEXT data structure describing the context to be opened.
fEnable -- BOOL Specifies whether the new context will immediately begin processing input data.

It will be highly appreciated if someone could point out where i've made a mistake.... Thanku.

Nadir Khan
GeneralRe: Passing window handle from 'Form' class to a winapi function (WTOpen of wintab32.dll) Pin
Dave Kreskowiak11-Feb-05 4:11
mveDave Kreskowiak11-Feb-05 4:11 
GeneralRe: Passing window handle from 'Form' class to a winapi function (WTOpen of wintab32.dll) Pin
Muhammad Nadir Khan14-Feb-05 5:24
Muhammad Nadir Khan14-Feb-05 5:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.