 labmaster
		
			labmaster
		
		
		
		
		
		
		
		
	
			11-02-2015 08:04 AM
I am not sure if my approach is right.
To resolve the inharmony of column alignment between Labview string control and notepad, I want to display string control in the same font with that of notepad.
How can I get the notepad font (or windows default font) information programmatically?
labmaster
 jeanlucpicard
		
			jeanlucpicard
		
		
		
		
		
		
		
		
	
			11-02-2015 08:25 AM
I have found you a way to do it via winapi methods, it is in #6, and it is programmed in some kind of C
http://forums.codeguru.com/showthread.php?510521-Current-window-font
(I haven't tried it)
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			11-02-2015 08:31 AM
11-02-2015 08:45 AM - edited 11-02-2015 08:48 AM
HI Dennis,
I remember you for a long time and it's honor to meet you in my question.
My data file is rather complicated to present by array or table because it contains many other kind of data.
Can you let me know how to get the current windows font?
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			11-02-2015 08:51 AM