mirror of
				https://github.com/pbatard/rufus.git
				synced 2024-08-14 23:57:05 +00:00 
			
		
		
		
	[ui] notification dialog improvements
This commit is contained in:
		
							parent
							
								
									18986bffa4
								
							
						
					
					
						commit
						510fde1133
					
				
					 4 changed files with 3 additions and 4 deletions
				
			
		|  | @ -23,8 +23,7 @@ | |||
| #define IDC_ABOUT_BUG_URL               1033 | ||||
| #define IDC_NOTIFICATION_ICON           1040 | ||||
| #define IDC_NOTIFICATION_TEXT           1041 | ||||
| #define IDC_NOTIFICATION_CLOSE          1042 | ||||
| #define IDC_NOTIFICATION_LINE           1043 | ||||
| #define IDC_NOTIFICATION_LINE           1042 | ||||
| #define IDC_LICENSE_TEXT                1050 | ||||
| 
 | ||||
| // Next default values for new objects
 | ||||
|  |  | |||
							
								
								
									
										1
									
								
								rufus.h
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								rufus.h
									
										
									
									
									
								
							|  | @ -73,6 +73,7 @@ extern INT_PTR CreateAboutBox(void); | |||
| extern HWND CreateTooltip(HWND hControl, char* message, int duration); | ||||
| extern void DestroyTooltip(HWND hWnd); | ||||
| extern void DestroyAllTooltips(void); | ||||
| extern void Notification(int type, char* text, char* title); | ||||
| 
 | ||||
| /* Basic String Array */ | ||||
| typedef struct { | ||||
|  |  | |||
							
								
								
									
										2
									
								
								rufus.rc
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								rufus.rc
									
										
									
									
									
								
							|  | @ -75,7 +75,7 @@ BEGIN | |||
|     CONTROL         "",IDC_STATIC,"Static",SS_WHITERECT,0,0,263,38 | ||||
|     ICON            32516,IDC_NOTIFICATION_ICON,6,6,20,20 | ||||
|     LTEXT           "",IDC_NOTIFICATION_TEXT,35,10,219,20 | ||||
|     DEFPUSHBUTTON   "Close",IDC_NOTIFICATION_CLOSE,211,44,50,14 | ||||
|     DEFPUSHBUTTON   "Close",IDCANCEL,211,44,50,14 | ||||
| END | ||||
| 
 | ||||
| IDD_LICENSE DIALOGEX 0, 0, 335, 205 | ||||
|  |  | |||
							
								
								
									
										1
									
								
								stdlg.c
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								stdlg.c
									
										
									
									
									
								
							|  | @ -549,7 +549,6 @@ INT_PTR CALLBACK NotificationCallback(HWND hDlg, UINT message, WPARAM wParam, LP | |||
| 		switch (LOWORD(wParam)) { | ||||
| 		case IDOK: | ||||
| 		case IDCANCEL: | ||||
| 		case IDC_NOTIFICATION_CLOSE: | ||||
| 			EndDialog(hDlg, LOWORD(wParam)); | ||||
| 			return (INT_PTR)TRUE; | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue