Click here to Skip to main content
15,886,199 members
Home / Discussions / C#
   

C#

 
QuestionSOLVED: Hide subitem in standard listview [modified] Pin
Marcel Vreuls (www.agentbase.nl)26-Aug-10 11:48
Marcel Vreuls (www.agentbase.nl)26-Aug-10 11:48 
AnswerMessage Closed Pin
26-Aug-10 20:37
stancrm26-Aug-10 20:37 
GeneralRe: Hide subitem in standard listview Pin
Marcel Vreuls (www.agentbase.nl)27-Aug-10 0:19
Marcel Vreuls (www.agentbase.nl)27-Aug-10 0:19 
QuestionHow to get url from browser to C# application Pin
Saint_pl26-Aug-10 11:14
Saint_pl26-Aug-10 11:14 
AnswerRe: How to get url from browser to C# application Pin
Luc Pattyn26-Aug-10 13:41
sitebuilderLuc Pattyn26-Aug-10 13:41 
AnswerRe: How to get url from browser to C# application Pin
Saint_pl26-Aug-10 13:51
Saint_pl26-Aug-10 13:51 
GeneralRe: How to get url from browser to C# application Pin
#realJSOP27-Aug-10 2:21
mve#realJSOP27-Aug-10 2:21 
AnswerRe: How to get url from browser to C# application [modified] Pin
Saint_pl27-Aug-10 5:27
Saint_pl27-Aug-10 5:27 
Yes, I've the handle, but not this what I need Smile | :)
In IE analogical way works. I don't know why it catch a window where it's not a child with className Chrome_AutocompleteEditView...so window where is hidden url from active tab
public string GetChromeUrl()
        {
            IntPtr mainWindow = FindWindow("Chrome_WidgetWin_0", null);
            IntPtr edit = FindWindowEx(mainWindow, IntPtr.Zero, "Chrome_AutocompleteEditView", null);
            int length = SendMessage(edit, WM_GETTEXTLENGTH, 0, 0);
            StringBuilder sb = new StringBuilder(length + 1);
            SendMessage(edit, WM_GETTEXT, length + 1, sb);
            return sb.ToString();
        }

Any idea? Smile | :)


ok, it's easy, GetWindow() with second par = GW_HWNDNEXT
this what I'm looking for Smile | :)

modified on Wednesday, September 1, 2010 8:24 AM

Questionwebspider/crawler extract Javascript related info Pin
michael_jhons26-Aug-10 9:39
michael_jhons26-Aug-10 9:39 
AnswerRe: webspider/crawler extract Javascript related info Pin
Ennis Ray Lynch, Jr.26-Aug-10 10:05
Ennis Ray Lynch, Jr.26-Aug-10 10:05 
AnswerRe: webspider/crawler extract Javascript related info Pin
Ravi Bhavnani26-Aug-10 11:57
professionalRavi Bhavnani26-Aug-10 11:57 
AnswerRe: webspider/crawler extract Javascript related info Pin
Pete O'Hanlon26-Aug-10 12:00
mvePete O'Hanlon26-Aug-10 12:00 
QuestionCompress specific text for storage. Pin
kevinnicol26-Aug-10 8:52
kevinnicol26-Aug-10 8:52 
AnswerRe: Compress specific text for storage. Pin
Luc Pattyn26-Aug-10 9:05
sitebuilderLuc Pattyn26-Aug-10 9:05 
GeneralRe: Compress specific text for storage. Pin
kevinnicol26-Aug-10 9:08
kevinnicol26-Aug-10 9:08 
GeneralRe: Compress specific text for storage. Pin
harold aptroot26-Aug-10 9:25
harold aptroot26-Aug-10 9:25 
GeneralRe: Compress specific text for storage. Pin
Luc Pattyn26-Aug-10 9:29
sitebuilderLuc Pattyn26-Aug-10 9:29 
GeneralRe: Compress specific text for storage. Pin
AspDotNetDev26-Aug-10 11:04
protectorAspDotNetDev26-Aug-10 11:04 
GeneralRe: Compress specific text for storage. Pin
Luc Pattyn26-Aug-10 11:09
sitebuilderLuc Pattyn26-Aug-10 11:09 
GeneralRe: Compress specific text for storage. Pin
AspDotNetDev26-Aug-10 11:16
protectorAspDotNetDev26-Aug-10 11:16 
GeneralRe: Compress specific text for storage. Pin
Luc Pattyn26-Aug-10 11:26
sitebuilderLuc Pattyn26-Aug-10 11:26 
GeneralRe: Compress specific text for storage. Pin
harold aptroot26-Aug-10 11:28
harold aptroot26-Aug-10 11:28 
GeneralRe: Compress specific text for storage. Pin
AspDotNetDev26-Aug-10 11:47
protectorAspDotNetDev26-Aug-10 11:47 
GeneralRe: Compress specific text for storage. Pin
harold aptroot26-Aug-10 12:01
harold aptroot26-Aug-10 12:01 
AnswerRe: Compress specific text for storage. Pin
Ian Shlasko26-Aug-10 10:02
Ian Shlasko26-Aug-10 10:02 

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.