<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[C# GUI access]]></title><description><![CDATA[<p dir="auto">Hi<br />
I don’t know about you guys but I love to create new GUIs using windows forms and C#. I made my plugin GUI for NP++ using forms.<br />
But what about the rest of the official GUI NP++ has, can it be accessed through C#? So you could fill the function list or use project window via C#.</p>
<p dir="auto">is it possible?</p>
<p dir="auto">thx!</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/25999/c-gui-access</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 23:30:50 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/25999.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Aug 2024 15:46:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to C# GUI access on Sun, 11 Aug 2024 18:37:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/11838">@General-Coder</a> ,</p>
<p dir="auto">My guess is that <a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/31309">@myGitAlex</a> thought that showing you another example of a GUI written in C# would be helpful – maybe assuming you were asking “how do I write <em>any</em> GUI for my plugin using C#”, not realizing you were asking for a very specific question about accessing specific parts of the native Notepad++ GUI from your plugin, even though they don’t have plugin API calls.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96116</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96116</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Sun, 11 Aug 2024 18:37:44 GMT</pubDate></item><item><title><![CDATA[Reply to C# GUI access on Sun, 11 Aug 2024 18:29:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/24325">@rdipardo</a> I mean I dont understand what regex has to do with this topic but maybe i just don’t understand regex and N++ that well</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96115</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96115</guid><dc:creator><![CDATA[General Coder]]></dc:creator><pubDate>Sun, 11 Aug 2024 18:29:36 GMT</pubDate></item><item><title><![CDATA[Reply to C# GUI access on Sun, 11 Aug 2024 17:21:01 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/31309">@myGitAlex</a> regex? sorry i dont follow</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/31309">@myGitAlex</a>  is probably talking about this: <a href="https://github.com/codingseb/CSharpRegexTools4Npp" rel="nofollow ugc">https://github.com/codingseb/CSharpRegexTools4Npp</a></p>
<p dir="auto">Brand new users can’t post hyperlinks in the forum; it’s a privilege they <a href="https://community.notepad-plus-plus.org/post/94932">have to earn</a>.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96114</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96114</guid><dc:creator><![CDATA[rdipardo]]></dc:creator><pubDate>Sun, 11 Aug 2024 17:21:01 GMT</pubDate></item><item><title><![CDATA[Reply to C# GUI access on Sun, 11 Aug 2024 08:58:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/31309">@myGitAlex</a> regex? sorry i dont follow</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96111</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96111</guid><dc:creator><![CDATA[General Coder]]></dc:creator><pubDate>Sun, 11 Aug 2024 08:58:34 GMT</pubDate></item><item><title><![CDATA[Reply to C# GUI access on Fri, 09 Aug 2024 14:54:32 GMT]]></title><description><![CDATA[<p dir="auto">Hey,</p>
<p dir="auto">I experimented with and adapted some plugins in C# back then and still use some of them today. e.g. ‘CSharpRegexTools4Npp’ (can be found on github).<br />
maybe it will help you.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96100</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96100</guid><dc:creator><![CDATA[myGitAlex]]></dc:creator><pubDate>Fri, 09 Aug 2024 14:54:32 GMT</pubDate></item><item><title><![CDATA[Reply to C# GUI access on Thu, 08 Aug 2024 16:56:01 GMT]]></title><description><![CDATA[<p dir="auto">In my experience, if Notepad++ doesn’t explicitly allow plugins to edit a GUI element via an <code>NPPM_*</code> notification, it is probably a bad idea to edit that GUI element.</p>
<p dir="auto">For example, it’s <em>possible</em> for plugins to add their menu to the Notepad++ main menu rather than being a submenu of the Plugins menu (using native Win32 APIs), but if you do that, the names of the main menu items will get messed up when you change your native language preference. On the other hand, Notepad++ gives a formal way to edit the status bar using <code>NPPM_SETSTATUSBAR</code>, so this can be edited safely without side effects.</p>
<p dir="auto">You might think “Why reinvent the wheel? The project panel looks like the kind of GUI I want to use, so I’ll just hack that!” But Notepad++ is going to expect that the project panel has a very specific structure, and you should not be surprised to get crashes or weird behavior if your modifications don’t conform to the expected structure. Get ready to spend a lot of time staring at the most arcane parts of the Notepad++ codebase.</p>
<p dir="auto">Speaking as an active C# plugin maintainer, I believe that native C# code is faster, easier to debug, and less likely to cause unexpected errors in Notepad++, compared to code that attempts to hack the Notepad++ GUI with the Win32 API.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96082</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96082</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Thu, 08 Aug 2024 16:56:01 GMT</pubDate></item><item><title><![CDATA[Reply to C# GUI access on Thu, 08 Aug 2024 15:00:00 GMT]]></title><description><![CDATA[<p dir="auto">ok so its not possible to edit the UI via C# classes but have to use SendMessage. maybe I just use the project view that way</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96078</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96078</guid><dc:creator><![CDATA[General Coder]]></dc:creator><pubDate>Thu, 08 Aug 2024 15:00:00 GMT</pubDate></item><item><title><![CDATA[Reply to C# GUI access on Wed, 07 Aug 2024 16:19:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/11838">@General-Coder</a></p>
<p dir="auto">In general yes, all ui elements can be accessed via the SendMessage api, but most of the time I would say this is not a good idea if you want to be in sync with Npps view of these ui elements, as no official apis are available, meaning that any changes you make will, probably, not reach Npp which will surely lead to instability sooner or later.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96072</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96072</guid><dc:creator><![CDATA[Ekopalypse]]></dc:creator><pubDate>Wed, 07 Aug 2024 16:19:58 GMT</pubDate></item></channel></rss>